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

2013-12-29 Thread leledumbo
> No, that shows a semicolon separating successive cases, not terminating each one Right, sorry I misinterpret "separate" with "terminate". -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Very-odd-case-parsing-problem-tp5717723p5717731.html Sent from the Free

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

2013-12-29 Thread Sven Barth
Am 29.12.2013 09:10 schrieb "Mark Morgan Lloyd" < markmll.fpc-pas...@telemetry.co.uk>: > > leledumbo wrote: >>> >>> 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 statem

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

2013-12-29 Thread Mark Morgan Lloyd
leledumbo wrote: 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 b

[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