[fpc-pascal] Syntax error with new FPC SVN
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Sep 30 17:06:24 CEST 2011
On 30 Sep 2011, at 16:56, fred f wrote:
> I have updated my FPC to SVN from today and when I try to compile my
> old code working with 2.5.1 from June writes:
>
> TYPE TByteSet = set of Byte(0)..Byte(7);
>
>>> Fatal: Syntax error, ";" expected but "(" found
>
> What has changed on syntax for this definition?
>
> PS: I use {$MODE Delphi} switch.
It's the byte() typecasts that trigger the error message, but that's
definitely quite a serious bug. Please file a bug report at http://bugs.freepascal.org
so it doesn't get forgotten.
Thanks,
Jonas
More information about the fpc-pascal
mailing list