This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/39818] New: cpp_macro_definition should preserve # and ## spelling and whitespace
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Apr 2009 17:18:27 -0000
- Subject: [Bug preprocessor/39818] New: cpp_macro_definition should preserve # and ## spelling and whitespace
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
cpp_macro_definition, as used by options such as -dM, for PCH and
for outputting macro definitions in debug info, should preserve the
spelling (digraph or not) of # and ## operators, whether there is
whitespace around them and sequences of consecutive ## and %:%:
operators. After my patch for bug 20078, the relevant information
is available at this point; it just isn't used for the textual output.
--
Summary: cpp_macro_definition should preserve # and ## spelling
and whitespace
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39818