This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/28521] -E output incorrectly concatenates tokens into trigraphs



------- Comment #6 from sabre at nondot dot org  2006-07-29 00:08 -------
Andrew, I'm well aware that a trigraph is not a token.? If you read the report,
I say that "gcc -E" produces output that a subsequent GCC will not reparse into
the same result.

Again, this is the whole point of:
http://gcc.gnu.org/onlinedocs/cppinternals/Token-Spacing.html#Token-Spacing

and the reason why GCC doesn't "-E" this:

#define x -
-x

to "--"

-Chris


-- 

sabre at nondot dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28521


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]