Skip to content
Snippets Groups Projects
  • Neil Booth's avatar
    5fddcffc
    cpphash.h (struct tokenrun): New. · 5fddcffc
    Neil Booth authored
    	* 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
    5fddcffc
    History
    cpphash.h (struct tokenrun): New.
    Neil Booth authored
    	* 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