egcs/gcc ChangeLog cpplex.c cppmacro.c cpplib.h
neil@gcc.gnu.org
neil@gcc.gnu.org
Wed Nov 8 15:08:00 GMT 2000
CVSROOT: /cvs/gcc
Module name: egcs
Changes by: neil@gcc.gnu.org 2000-11-08 15:08:08
Modified files:
gcc : ChangeLog cpplex.c cppmacro.c cpplib.h
Log message:
Move directive handling into the lexer itself.
* cpplex.c (_cpp_lex_token): Handle directives directly.
In the case of a directive interrupting a function-like
macro invocation, use extra_char since read_ahead is
used to store the '#'. Return a CPP_EOF in this case.
* cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
(cpp_get_token): Don't handle directives here.
* cpplib.h: Remove CPP_DHASH token type.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.8193&r2=1.8194
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cpplex.c.diff?cvsroot=gcc&r1=1.113&r2=1.114
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cppmacro.c.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cpplib.h.diff?cvsroot=gcc&r1=1.131&r2=1.132
More information about the Gcc-cvs
mailing list