[fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Mark Morgan Lloyd
I've been doing a bulk replace of 'case..else' to 'case..otherwise' to eliminate possible ambiguities that have bitten me in the past, and have noticed something interesting under 2.6.4 on x86 Linux. This is OK: Ord('.'): case shiftState of unshifted: mechCode :=

Re: [fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Howard Page-Clark
On 11/12/2014 21:07, Mark Morgan Lloyd wrote: I've been doing a bulk replace of 'case..else' to 'case..otherwise' to eliminate possible ambiguities that have bitten me in the past, and have noticed something interesting under 2.6.4 on x86 Linux. How can else be ambiguous within a case

Re: [fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Ewald
On 12/11/2014 11:13 PM, Howard Page-Clark wrote: On 11/12/2014 21:07, Mark Morgan Lloyd wrote: I've been doing a bulk replace of 'case..else' to 'case..otherwise' to eliminate possible ambiguities that have bitten me in the past, and have noticed something interesting under 2.6.4 on x86 Linux.

Re: [fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Mark Morgan Lloyd
Ewald wrote: On 12/11/2014 11:13 PM, Howard Page-Clark wrote: On 11/12/2014 21:07, Mark Morgan Lloyd wrote: I've been doing a bulk replace of 'case..else' to 'case..otherwise' to eliminate possible ambiguities that have bitten me in the past, and have noticed something interesting under 2.6.4