30.09.2011 23:06, Jonas Maebe wrote:
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.
I have updated my FPC to SVN from today and when I try to compile my
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.
This is probably my fault although:
1. delphi does not support such declarations
2. we don't have a test for this kind of syntax
So maybe we had a feature by accident? Should I restore that behavior?
Best regards,
Paul Ishenin.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal