kill the commas! (phobos code cleanup)

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 3 09:11:50 PDT 2014


"ketmar via Digitalmars-d"  wrote in message 
news:mailman.363.1409759971.5783.digitalmars-d at puremagic.com...

> i'm pretty sure that this can be done with a little hack in
> parseExpression(): just append 'cast(void)0' to the list of expressions
> there.

It can be done there, but it would not be 'correct'.  The ast should attempt 
to match the original code as closely as possible, so that differences are 
minimized in di generation and other things like that. 



More information about the Digitalmars-d mailing list