This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc cpplib.c cppmacro.c cpptrad.c ChangeLog
- From: neil at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 13 Jun 2002 06:25:34 -0000
- Subject: gcc/gcc cpplib.c cppmacro.c cpptrad.c ChangeLog
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: neil@gcc.gnu.org 2002-06-12 23:25:34
Modified files:
gcc : cpplib.c cppmacro.c cpptrad.c ChangeLog
Log message:
* cpplib.c (end_directive): Handle line skipping. Only remove
the rest of the line if the directive was valid.
* cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when
expanding a traditional macro.
* cpptrad.c (recursive_macro): New.
(read_logical_line_trad): Handle skipping.
(scan_out_logical_line): Continue after a successful directive.
Don't expand macros whilst skipping, or if recursing.
(_cpp_create_trad_definition): scan_out_logical_line now sets
the output current position.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&r1=1.308&r2=1.309
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppmacro.c.diff?cvsroot=gcc&r1=1.113&r2=1.114
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpptrad.c.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.14558&r2=1.14559