gcc/gcc ChangeLog cpplib.c cpptrad.c testsuite ...
neil@gcc.gnu.org
neil@gcc.gnu.org
Fri Dec 12 07:00:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: neil@gcc.gnu.org 2003-12-12 07:00:29
Modified files:
gcc : ChangeLog cpplib.c cpptrad.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg/cpp/trad: macro.c
Log message:
PR preprocessor/12935 preprocessor/12952 preprocessor/13046
* cpplib.c (prepare_directive_trad): Clear skipping only in
#if and #elif directives.
(do_undef): Call the handler even if the identifier is not a macro.
* cpptrad.c (scan_parameters): Emit an error message.
(_cpp_create_trad_definition): Remember the params list even on
failure.
* testsuite/gcc.dg/cpp/trad/macro.c: New tests.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1985&r2=2.1986
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&r1=1.354&r2=1.355
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpptrad.c.diff?cvsroot=gcc&r1=1.39&r2=1.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3245&r2=1.3246
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/trad/macro.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
More information about the Gcc-cvs
mailing list