Skip to content

In fcl-passrc, PasWriter.WriteModule is unable to show statements with label marks

In fcl-passrc, PasWriter.WriteModule is unable to show statements with label marks.

For example:

program Prog;
{$mode ObjFpc}

label
  Here;

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

This issue is a part of #issue 41134, that has been closed, but in fact, partially solved.

See attached archive to reproduce.

test.zip

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