I've beed asked to post this patch to cfe-commits, so there you go. The 
preprocessor show now consume a comma before elided __VA_ARGS__ even if there 
is no pasting operator in between. E.g.

    #define X1(b, ...) {b,__VA_ARGS__}
   X1(foo)

resolves to

    {foo}
--
Martin

Attachment: bug_12845.diff
Description: bug_12845.diff

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to