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
This commit is contained in:
parent
f9d09ae5bb
commit
e37b38d7d6
@ -1,3 +1,9 @@
|
||||
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 = ¯o->expansion[i];
|
||||
|
Loading…
Reference in New Issue
Block a user