Serious error-causing change in new CPP's -traditional behavior

Neil Booth NeilB@earthling.net
Wed May 10 16:15:00 GMT 2000


Maybe a better idea is to combine a # followed by a number into a
CPP_NUMBER token, if the assembler option is set, in the same way as I
have to for the initial CPP_DOT token for C when parsing

.123456

for example.  I think whitespace can separate the # and the number in
assembler, but doesn't have to, right?  If so I can just drop any
whitespace that happens to be there.

Then the number would be output with a preceding #, and not every
directive handler needs to be aware of assembler syntax.  Does this
sound better?

Neil.



More information about the Gcc-bugs mailing list