Skip to content

In fcl-passrc, PasWriter.WriteModule is unable to show programs with label declarations and statement with label marks

In fcl-passrc, PasWriter.WriteModule is unable to show programs with label declarations. Moreover, it can't diplay statements with label marks.

For example:

program Prog;
{$mode ObjFpc}

label
  Here;

begin
  writeln;
Here :
  writeln;
  Goto Here;
  writeln;
end.

With the above example, an exception is raised.

See attached zip archive to reproduce. test.zip

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information