* 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
Showing
- gcc/ChangeLog 13 additions, 0 deletionsgcc/ChangeLog
- gcc/cpphash.h 18 additions, 0 deletionsgcc/cpphash.h
- gcc/cppinit.c 1 addition, 0 deletionsgcc/cppinit.c
- gcc/cpplex.c 91 additions, 1 deletiongcc/cpplex.c
- gcc/cpplib.h 0 additions, 3 deletionsgcc/cpplib.h
- gcc/cppmacro.c 124 additions, 113 deletionsgcc/cppmacro.c
Loading
Please register or sign in to comment