cpphash.c (dump_hash_helper): Only dump nodes of type T_MACRO.
* cpphash.c (dump_hash_helper): Only dump nodes of type T_MACRO. Emit a newline after each definition. From-SVN: r32518
This commit is contained in:
parent
c2952b018a
commit
194ae3f644
@ -1,3 +1,8 @@
|
||||
2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* cpphash.c (dump_hash_helper): Only dump nodes of type
|
||||
T_MACRO. Emit a newline after each definition.
|
||||
|
||||
2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
|
||||
|
||||
* gccbug.in: New file.
|
||||
|
@ -1727,7 +1727,11 @@ dump_hash_helper (h, p)
|
||||
HASHNODE *hp = (HASHNODE *)h;
|
||||
cpp_reader *pfile = (cpp_reader *)p;
|
||||
|
||||
_cpp_dump_definition (pfile, hp->name, hp->length, hp->value.defn);
|
||||
if (hp->type == T_MACRO)
|
||||
{
|
||||
_cpp_dump_definition (pfile, hp->name, hp->length, hp->value.defn);
|
||||
CPP_PUTC (pfile, '\n');
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user