diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-26 17:52:50 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-26 17:52:50 +0000 |
commit | 06c92cbc412348d781face036e144c36d0f73fc5 (patch) | |
tree | c6066a336fb26cdd94d5e883ad2dbefc8c99c02d /gcc/cppinit.c | |
parent | 8f3e702b4f5e481efd9da3287688988be46262de (diff) | |
download | gcc-06c92cbc412348d781face036e144c36d0f73fc5.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45827 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 11c86aa3377..53e1c68b8a6 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -591,6 +591,7 @@ cpp_destroy (pfile) _cpp_free_pool (&pfile->ident_pool); _cpp_free_pool (&pfile->macro_pool); _cpp_free_pool (&pfile->argument_pool); + _cpp_free_buff (pfile->free_buffs); for (run = &pfile->base_run; run; run = runn) { |