Re: Parenthesized Target Notation

"Richard A. O'Keefe" <[email protected]>
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Roger Browne <[email protected]> wrote:
	In 1998 we persuaded Bertrand Meyer to use newline for
	disambiguation in this case.

6.2.19 Semantics: Semicolon Optionality rule
    In writing specifications of {\bf any} construct defined by a Repetition
    production specifying the semicolon ";" as separatort, it is permitted,
    without any effect on the syntax structure, validity and semantics of
    the software, to omit any of the semicolons.

    <Informative text>
    This rule applies to instructions, declarations, successive groups of
    formal arguments, and many other Repetition constructs.  IT DOES NOT
    REY ON THE LAYOUT OF THE SOFTWARE.  ...

(my emphasis; in the original only the word "layout" is emphasised)
    
I don't think the persuasion stuck.

	However, the issue was never presented to the NICE language committee.
	
As far as I can tell, you don't *need* a special hack for newlines in this
case; all you have to do is _wait_ a bit in the parser.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.