(dump_hash_helper): Dump all four macro nodetypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33613
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
+
+ * cpphash.c (collect_params): Fix off-by-one error.
+ (dump_hash_helper): Dump all four macro nodetypes.
+
2000-05-02 Jakub Jelinek <jakub@redhat.com>
* cpphash.c (trad_stringify): Adjust p after stringification as
argv[a].len = len;
argv[a].name = p;
argv[a].rest_arg = 0;
- p += len;
+ p += len + 1;
a++;
break;
HASHNODE *hp = (HASHNODE *)*h;
cpp_reader *pfile = (cpp_reader *)p;
- if (hp->type == T_MACRO)
+ if (hp->type == T_MACRO || hp->type == T_FMACRO
+ || hp->type == T_IDENTITY || hp->type == T_EMPTY)
_cpp_dump_definition (pfile, hp);
return 1;
}