Skip to content

In fcl-passrc, TPasElement.GetDeclaration does not display label declarations

TPasElement.GetDeclaration does not display label declarations. This happens because

function TPasLabels.GetDeclaration(full: Boolean): TPasTreeString;

is not implemented.

For example, with the following program:

program Prog;
{$mode ObjFpc}

label
  Label1, Label2;

begin
end.

It does not produce any output.

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