]> git.saurik.com Git - bison.git/commit
* src/symtab.c (symbol_free): Remove dead deactivated code:
authorAkim Demaille <akim@epita.fr>
Tue, 12 Nov 2002 07:55:55 +0000 (07:55 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 12 Nov 2002 07:55:55 +0000 (07:55 +0000)
commit3e6656f9ab66ae7e629f8e5d5b41810bf070f09d
treea73f22a18872e61b0e2ccb6d6367242457755598
parentccdb39e0a6f95cb4a3f19c08885a7c421cdebedb
* src/symtab.c (symbol_free): Remove dead deactivated code:
type_name are properly removed.
Don't use XFREE to free items that cannot be NULL.
* src/struniq.h, src/struniq.c: New.
* src/main.c (main): Initialize/free struniqs.
* src/parse-gram.y (%union): Add astruniq member.
(yyprint): Adjust.
* src/scan-gram.l (<{tag}>): Return a struniq.
Free the obstack bit that used to store it.
* src/symtab.h (symbol_t): The 'type_name' member is a struniq.
12 files changed:
ChangeLog
src/Makefile.am
src/main.c
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/reader.c
src/scan-gram.l
src/struniq.c [new file with mode: 0644]
src/struniq.h [new file with mode: 0644]
src/symtab.c
src/symtab.h