aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2000-05-01 18:23:07 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-01 18:23:07 +0000
commitcc93392367215ad4791f0c3572253e542db51d48 (patch)
tree7d6f0f989e74c6f80612f2956c2bf6a0b09dc6f8 /gcc
parenta7abcbbf92b21842d774a96fae56122c95544f44 (diff)
downloadgcc-cc93392367215ad4791f0c3572253e542db51d48.zip
gcc-cc93392367215ad4791f0c3572253e542db51d48.tar.gz
gcc-cc93392367215ad4791f0c3572253e542db51d48.tar.bz2
Oops, forgot to commit this with the last change
From-SVN: r33582
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4467777..a6816b4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,26 @@
+2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
+
+ * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
+ static. Allocate the hashnode and its string in the same
+ block of memory.
+ (del_HASHNODE): Don't free h->name.
+ (_cpp_lookup): If there is no entry for this string, create
+ one, of type T_VOID.
+ (_cpp_lookup_slot): Delete.
+ * cpphash.h: Update prototypes.
+
+ * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
+ not hp == NULL.
+ * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
+ do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
+ node here, just fill in the value field properly. "Delete"
+ entries by setting the value field to T_VOID. Check for
+ hp->type == T_VOID, not hp == NULL.
+
+ * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
+ * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
+ hashtab.h.
+
2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
* config/mn10300/mn10300.c (print_operand_address): Do not add