JCF formatter problems with global properties
Original Reporter info from Mantis: simone @simonetacconi
-
Reporter name: simone
Original Reporter info from Mantis: simone @simonetacconi
- Reporter name: simone
Description:
JCF formatter is not able to format global properties (see example in the next box)
Steps to reproduce:
CODE TO FORMAT WITH JCF:
Program property0;
var
fProp : integer;
function GetProp:integer;
begin
result:=fProp;
end;
procedure SetProp(VarIn : integer);
begin
fProp:=VarIn;
end;
Property Prop : integer Read GetProp Write SetProp;
begin
End.
MESSAGE ERROR:
JCF, Errors: 1
project1.lpr(15,1) Error: Exception TEParseError Unexpected token, expected "BEGIN"
Near PROPERTY
IDE Aborted due to error
Mantis conversion info:
- Mantis ID: 36548
- Version: 2.0.4
- Fixed in revision: r62790 (#94047756)