gcc/gcc cppinit.c cpplex.c cpplib.h cpplib.c c ...
bothner@gcc.gnu.org
bothner@gcc.gnu.org
Fri Dec 6 12:30:00 GMT 2002
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-basic-improvements-branch
Changes by: bothner@gcc.gnu.org 2002-12-06 12:30:43
Modified files:
gcc : cppinit.c cpplex.c cpplib.h cpplib.c cppmacro.c
cpptrad.c ChangeLog
Log message:
* cpplib.h (NODE_MACRO_ARG): New flag.
(struct cpp_hashnode): Give _cpp_hashnode_value tag to value union.
Remove value.operator field. Move arg_index field to value union.
(directive_index): Make signed, since also used for C++ operators.
* cppmacro.c (_cpp_save_parameter): Use NODE_MACRO_ARG flag to
check for duplicate parameter. Set NODE_MACRO_ARG flag.
Save node->value, and set node->value.arg_index.
(_cpp_create_definition): For each paramater, restore node->value.
(lex_expansion_token): Use NODE_MACRO_ARG flag, and moved arg_index.
* cpptrad.c (scan_out_logical_line): Likewise.
(scan_out_logical_line): Check for directive > 0.
* cpplib.c (cpp_handle_directive): Likewise.
* cpplex.c (_cpp_lex_direct): Update as value.operator is replaced
by negative of directive_index.
* cppinit.c (mark_named_operators): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppinit.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.260.2.4&r2=1.260.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplex.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.212.4.3&r2=1.212.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.234.4.2&r2=1.234.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.321.4.5&r2=1.321.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppmacro.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.122.4.3&r2=1.122.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpptrad.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.27.4.2&r2=1.27.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.15234.2.138&r2=1.15234.2.139
More information about the Gcc-cvs
mailing list