Re: [fpc-pascal] Very odd case parsing problem

2013-12-28 Thread Mark Morgan Lloyd
Saunders, Rich wrote: On 2013-12-28 15:47, Mark Morgan Lloyd wrote: I can fix that either by putting a semicolon before the else- which I believe is strictly incorrect- or by putting begin/end around that conditional, or by inserting a dummy statement before the else like quit_: if

[fpc-pascal] Re: Very odd case parsing problem

2013-12-28 Thread leledumbo
> I can fix that either by putting a semicolon before the else- which I believe is strictly incorrect Nope, that's correct. Take a look at the syntax diagram for case statement here: http://www.freepascal.org/docs-html/ref/refsu50.html As you can see, each "case" is terminated by ";". From the pa

[fpc-pascal] Very odd case parsing problem

2013-12-28 Thread Mark Morgan Lloyd
I've been wrestling with something for a chunk of the early evening, which is reproducible in situ but not in a cut-down test program. Using 2.6.2 on x86 Linux in objfpc mode, a case statement that looks like this fails to parse: try case parseCommand(selector) of help:beg

Re: [fpc-pascal] Free Pascal 2.6.4-rc1 released!

2013-12-28 Thread Marco van de Voort
In our previous episode, Torsten Bonde Christiansen said: > > Changes that may break backwards compatibility are documented at: > > http://wiki.freepascal.org/User_Changes_2.6.4 > > This page does not yet exists? Is this correct? Yes, the RC1 is prepared as much as it was the final release. But n

Re: [fpc-pascal] Free Pascal 2.6.4-rc1 released!

2013-12-28 Thread Torsten Bonde Christiansen
On 2013-12-19 21:23, Marco van de Voort wrote: Hello Changes that may break backwards compatibility are documented at: http://wiki.freepascal.org/User_Changes_2.6.4 This page does not yet exists? Is this correct? Regards, Torsten Christiansen. ___