Re: [fpc-pascal] Syntax error with new FPC SVN

2011-09-30 Thread Jonas Maebe
On 30 Sep 2011, at 18:27, Paul Ishenin wrote: > 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? Set type is defined as "set of ordinal type": http://www.freepascal.

Re: [fpc-pascal] Syntax error with new FPC SVN

2011-09-30 Thread Paul Ishenin
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 tod

Re: [fpc-pascal] Syntax error with new FPC SVN

2011-09-30 Thread Jonas Maebe
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

[fpc-pascal] Syntax error with new FPC SVN

2011-09-30 Thread fred f
Hi guys, 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} switc