punctuation (was Re: Eliminating assignments and variable syn tax (accessors))

Jarvis, Robert P. Jarvisb at timken.com
Thu Aug 5 12:23:57 UTC 1999


> -----Original Message-----
> From:	Alan Knight [SMTP:alan at objectpeople.com]
> Sent:	Wednesday, August 04, 1999 4:06 PM
> To:	squeak at cs.uiuc.edu
> Subject:	punctuation (was Re: Eliminating assignments and variable
> syntax (accessors))
> 
	<snip>
	...so I'm willing to concede that "]" should also be treated as a
statement
> terminator...
	<snip>

<language-lawyer>
I don't think this would work.  Consider

	a = b
		ifTrue: [ ... ]
		ifFalse: [ ... ]

If #] is a statement terminator then the statement terminates after the
ifTrue:, and produces a syntax error when the ifFalse: is seen.
</language-lawyer>

Bob Jarvis
The Timken Company





More information about the Squeak-dev mailing list