This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog cpplex.c cppmacro.c testsuit ...
- To: gcc-cvs at gcc dot gnu dot org
- Subject: gcc/gcc ChangeLog cpplex.c cppmacro.c testsuit ...
- From: neil at gcc dot gnu dot org
- Date: 3 Mar 2001 22:14:08 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: neil@gcc.gnu.org 2001-03-03 14:14:08
Modified files:
gcc : ChangeLog cpplex.c cppmacro.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg/cpp: macro7.c
Log message:
* cpplex.c (_cpp_lex_token): Don't warn about directives in
macro arguments when looking for the '('.
* cppmacro.c (funlike_invocation_p): Set parsing_args to
2 when really parsing arguments; 1 when looking for '('.
Always restore the lexer position.
* gcc.dg/cpp/cppmacro7.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.9445&r2=1.9446
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplex.c.diff?cvsroot=gcc&r1=1.132&r2=1.133
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppmacro.c.diff?cvsroot=gcc&r1=1.47&r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.1107&r2=1.1108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/macro7.c.diff?cvsroot=gcc&r1=1.1&r2=1.2