comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Lexical Conundrum
Date: 1998/02/22
Date: 1998-02-22T00:00:00+00:00	[thread overview]
Message-ID: <dewar.888209206@merv> (raw)
In-Reply-To: EotBMK.MnK@world.std.com


Robert Duff says

<<>Now, from chapter 2 of the RM, one might get the impression that this could
>be parsed as five lexical elements (three identifiers and two apostrophes).

I think 2.2(7) makes it clear that the above is three lexical elements,
not five.
>>

I am puzzled. 2.2(7) says

7   One or more separators are allowed between any two adjacent lexical                    
elements, before the first of each compilation, or after the last.  At least               
one separator is required between an identifier, a reserved word, or a                     
numeric_literal and an adjacent identifier, reserved word, or numeric_                     
literal.                                                                                   


But neither the 3 token nor the 5 token interpretations have or need
separators, so how is this paragraph relevant?

Not that there is a problem anyway!!!!





  parent reply	other threads:[~1998-02-22  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-19  0:00 Lexical Conundrum Nick Roberts
     [not found] ` <EotBMK.MnK@world.std.com>
1998-02-22  0:00   ` Robert Dewar [this message]
1998-02-23  0:00     ` Keith Thompson
1998-02-23  0:00       ` Robert Dewar
     [not found]     ` <Eou91J.Es9@world.std.com>
1998-02-23  0:00       ` Robert Dewar
1998-02-26  0:00     ` Dr Steve Sangwine
1998-02-23  0:00   ` Mark A Biggar
1998-02-24  0:00     ` Mats Weber
1998-02-24  0:00       ` Robert Dewar
1998-03-05  0:00         ` Robert I. Eachus
1998-02-23  0:00 ` Jean-Pierre Rosen
1998-02-23  0:00   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1998-02-22  0:00 Nick Roberts
1998-02-22  0:00 ` Robert Dewar
1998-02-24  0:00   ` John Roberts-Jones
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox