Menu

#228 Parsing Error on anonymous procedures without parameters

v1.0 (example)
open
nobody
None
5
2018-09-07
2018-09-07
No

The trunk version of jcf2 (r831) has issues on formatting source code with anonymous procedures without parameters:

var
  a: TProc;
begin
  a := procedure
    begin
    end;
  end;

Another possible situation is the case with variables in the anonymous procedure:

var
a: TProc;
begin
a := procedure
var
i: Integer;
begin
for i := 0 to 10 do ;
end;
end;
~~~

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.