Rainer Deyke wrote:
Andrei Alexandrescu wrote:Now there are several problems with this. All of the following compile:Possible solution: treat all sequences as dots as part of the same token, always.0.....wyda 0....wyda 0.... wyda 0... .wyda 0.. .wyda 0. ....wydaAll rejected by the lexer.
No. Actually, some, yes :o).
0. .. .wyda 0. ...wydaLegal and unambiguous.
And throroughly confusing, which was my point. Andrei
