'CASE' bug!

Jukka Virtanen jtv at cc.hut.fi
Tue Oct 7 12:40:07 CEST 1997

On Tue, 7 Oct 1997, Peter Gerwinski wrote:

> According to Kevin A. Foss:
> > EP does have an 'otherwise'
> > feature and my reading of 10206: 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:  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!


	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.

						jtv at hut.fi

More information about the Gpc mailing list