I am not sure if this is a problem of the Generics.Collections unit I am
using (https://github.com/dathox/generics.collections) as this unit is
always compiled with -Mdelphi or if this is an issue with fpc's parser.
The following snippet compiles fine in delphi mode, but does not compile
in ObjectFPC Mode:
type
TSpecialFunctionBits = record
name: String;
Position: longWord;
Mask: longWord;
notMask: longWord;
Length: longWord;
constructor create(theName: String; thePosition, theMask,
theLength: longWord);
end;
Error is:
Fatal: Syntax error, ";" expected but "<" found
I saw this error with trunk fpc.
Michael
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel