This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog cpphash.h cpplib.c cppmacro. ...
- From: zack at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 21 Feb 2003 18:06:30 -0000
- Subject: gcc/gcc ChangeLog cpphash.h cpplib.c cppmacro. ...
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: zack at gcc dot gnu dot org 2003-02-21 18:06:30
Modified files:
gcc : ChangeLog cpphash.h cpplib.c cppmacro.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg/cpp: include3.c
gcc/testsuite/gcc.dg/cpp/inc: foo.h
Log message:
* cpphash.h (struct lexer_state): Add directive_wants_padding.
* cpplib.c (_cpp_handle_directive): Set directive_wants_padding
for directives of type INCL.
(glue_header_name, parse_include): Use get_token_no_padding.
* cppmacro.c (replace_args): If directive_wants_padding,
provide padding tokens.
* testsuite/gcc.dg/cpp/include3.c: New test.
* testsuite/gcc.dg/cpp/inc/foo.h: New file.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.16808&r2=1.16809
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpphash.h.diff?cvsroot=gcc&r1=1.175&r2=1.176
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&r1=1.330&r2=1.331
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppmacro.c.diff?cvsroot=gcc&r1=1.127&r2=1.128
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2428&r2=1.2429
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/include3.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/foo.h.diff?cvsroot=gcc&r1=NONE&r2=1.1