Number literals (Was: Re: Case Range Statement ..)
Walter Bright
newshound1 at digitalmars.com
Tue Jul 7 22:43:08 PDT 2009
Rainer Deyke wrote:
> Never mind if any of these
> token sequences are syntactically valid, this is a mess at the lexical
> level. If '0.....wyda' is interpreted as the token sequence '0. ... .
> wyda', then you have bigger things to worry about than whether or not
> that token sequence is ever syntactically valid.
Back in the 80's, there was some n.g. discussion about what x++++y meant
and how it was lexed and parsed. The best answer was:
"Here a plus, there a plus, everywhere a plus plus."
More information about the Digitalmars-d
mailing list