OSDN Git Service

* cpphash.h: Move struct reflist, struct definition, and the
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Apr 2000 20:58:12 +0000 (20:58 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Apr 2000 20:58:12 +0000 (20:58 +0000)
commite31406e5e4c99ed1d418519d02918611af19ecf4
tree3485b8cc5bd488923ed2e4a7685f61b49bd637e6
parent8f6eef21a74f4824af85de34cca92bb6d9767a91
* cpphash.h: Move struct reflist, struct definition, and the
DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
union hashval.  _cpp_free_definition takes a HASHNODE pointer.
* cpphash.c (_cpp_free_definition): Free data pointed to by
MCONST, XCONST, MACRO, and FMACRO nodes properly.
(_cpp_create_definition, del_HASHNODE): Just call
_cpp_free_definition to clear out a hashnode.
* cpplib.c (do_pragma_poison): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33536 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.c
gcc/cpphash.h
gcc/cpplib.c