This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Serious error-causing change in new CPP's -traditional behavior
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.