Commit e37b38d7 by Jim Blandy Committed by Jim Blandy

cppmacro.c (cpp_macro_definition): Emit a space after the macro name...

* cppmacro.c (cpp_macro_definition): Emit a space after the macro
name, even if the replacement list contains no tokens, as required
by Dwarf.

From-SVN: r51045
parent f9d09ae5
2002-03-19 Jim Blandy <jimb@redhat.com>
* cppmacro.c (cpp_macro_definition): Emit a space after the macro
name, even if the replacement list contains no tokens, as required
by Dwarf.
2002-03-19 Jason Merrill <jason@redhat.com>
* varasm.c (globalize_decl): Get the name from the RTL, not
......
......@@ -1561,10 +1561,13 @@ cpp_macro_definition (pfile, node)
*buffer++ = ')';
}
/* The Dwarf spec requires a space after the macro name, even if the
definition is the empty string. */
*buffer++ = ' ';
/* Expansion tokens. */
if (macro->count)
{
*buffer++ = ' ';
for (i = 0; i < macro->count; i++)
{
cpp_token *token = &macro->expansion[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment