]> gcc.gnu.org Git - gcc.git/commit
cpphash.h: Move struct reflist, struct definition, and the DEFINITION typedef to...
authorZack Weinberg <zack@wolery.cumb.org>
Sat, 29 Apr 2000 20:58:12 +0000 (20:58 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sat, 29 Apr 2000 20:58:12 +0000 (20:58 +0000)
commit5cebbd8de37bec65562d047500b13d93c6ad839f
tree3485b8cc5bd488923ed2e4a7685f61b49bd637e6
parent0bf0f02717e5029aed0aacda9198e05d7c1d2c2d
cpphash.h: Move struct reflist, struct definition, and the DEFINITION typedef to cpphash.c.

* 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.

From-SVN: r33536
gcc/ChangeLog
gcc/cpphash.c
gcc/cpphash.h
gcc/cpplib.c
This page took 0.059952 seconds and 5 git commands to generate.