------- Comment #16 from joseph at codesourcery dot com 2005-11-04 00:05 ------- Subject: Re: [3.4/4.0/4.1 Regression] stringification BUG
On Thu, 3 Nov 2005, mmitchel at gcc dot gnu dot org wrote: > Joseph, you're probably the person who best understands the behavior required > by the standard. > > Since Per writes: > > "I don't know enough about fine points of the standard to say what is > right. If you and Andrew think it is right, I'm ok with it." > > would you mind reviewing the patch? Andrew, if Joseph approves the patch, it > is OK. Except for some laxity in the handling of UCNs (for C but not for C++) the standards exactly define how the spelling of a token translates into the spelling of the result of applying # to it, and there is nothing to allow the conversion to octal; this patch is correct. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042