for in D versus C and C++
Robert Fraser
fraserofthenight at gmail.com
Fri Mar 20 21:54:05 PDT 2009
Sean Kelly wrote:
> The best I've come up with so far for parsing
> that stuff is to have the lexer actually return tokens representing whitespace
> in some instances. It's totally ridiculous.
The Descent port of the DMDFE lexer does this for formatting source
code. It's a neat trick for formatting, but shouldn't be necessary for
compilation.
Also, was there ever a consensus on whether whitespace has meaning in XML?
More information about the Digitalmars-d
mailing list