]> git.ipfire.org Git - thirdparty/gcc.git/commit
cpphash.h (struct _cpp_buff, [...]): New.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Wed, 26 Sep 2001 17:52:50 +0000 (17:52 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 26 Sep 2001 17:52:50 +0000 (17:52 +0000)
commitb8af0ca5c72a8663b3ea7b0d706cb7055d827aed
treec6066a336fb26cdd94d5e883ad2dbefc8c99c02d
parent9c383523a3f308e683dea3fb80e5774bfb2a040f
cpphash.h (struct _cpp_buff, [...]): New.

* cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
_cpp_extend_buff, _cpp_free_buff): New.
(struct cpp_reader): New member free_buffs.
* cppinit.c (cpp_destroy): Free buffers.
* cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
_cpp_extend_buff, _cpp_free_buff): New.
* cpplib.h (struct cpp_options): Remove unused member.
* cppmacro.c (collect_args): New.  Combines the old parse_arg
and parse_args.  Use _cpp_buff for memory allocation.
(funlike_invocation_p, replace_args): Update.

From-SVN: r45827
gcc/ChangeLog
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.h
gcc/cppmacro.c