actually had one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31964
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
+
+ * cpplib.c (do_define): Only free the old definition if it
+ actually had one.
+
2000-02-13 Neil Booth <NeilB@earthling.net>
* cppfiles.c (read_and_prescan): When emitting deferred
if (hp->type != T_POISON)
{
/* Replace the old definition. */
+ if (hp->type == T_MACRO)
+ free_definition (hp->value.defn);
hp->type = T_MACRO;
- free_definition (hp->value.defn);
hp->value.defn = mdef.defn;
}
}