'CASE' bug!_(re)

Tue, 7 Oct 1997 13:40:07 +0300 (EET DST)



On Tue, 7 Oct 1997, Peter Gerwinski wrote:

> According to Kevin A. Foss:
> > EP does have an 'otherwise'
> > feature and my reading of 10206:6.9.3.5 is that like BP's "else" usage,
> > "otherwise" doesn't require a begin/end for statement sequences either.
> 
> I agree about how you read ISO-10206:6.9.3.5.  It is like BP, just with
> `otherwise' instead of `else'.  Without a `:' after `otherwise'.
> 
> So GNU Pascal was wrong here from the very beginning.  Unless there are
> other compilers to keep compatibility with, I will change that.
> 

     Hi Peter!

	oops... 

	I indeed did not notice that

	case-statement-completer = 'otherwise' statement-sequence

	But you could keep the optional colon after 'otherwise',
	for compatibility, even though 10206 does not require it.

						Juki
						jtv@hut.fi


Jukka Virtanen (jtv@cc.hut.fi)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es