-
- Downloads
cpphash.h (struct tokenrun): New.
* cpphash.h (struct tokenrun): New. (struct cpp_context): New member bol. (struct cpp_reader): New members. (_cpp_init_tokenrun): New. * cppinit.c (cpp_create_reader): Set up the token runs. * cpplex.c (lex_directive, lex_token, next_tokenrun): New. (lex_token): New internalised version of _cpp_lex_token. Don't handle directives or the multiple include opimisation here any more. Simply lex a token. * cpplib.c (run_directive): Clear bol. (_cpp_pop_buffer): Set bol. * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing arguments. From-SVN: r45534
Showing
- gcc/ChangeLog 16 additions, 0 deletionsgcc/ChangeLog
- gcc/cpphash.h 18 additions, 0 deletionsgcc/cpphash.h
- gcc/cppinit.c 6 additions, 0 deletionsgcc/cppinit.c
- gcc/cpplex.c 167 additions, 116 deletionsgcc/cpplex.c
- gcc/cpplib.c 2 additions, 0 deletionsgcc/cpplib.c
- gcc/cppmacro.c 2 additions, 0 deletionsgcc/cppmacro.c
Loading
Please register or sign in to comment