This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc/gcc ChangeLog cpphash.h cpplib.c cpplib.h ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	compile-server-branch
Changes by:	bothner@gcc.gnu.org	2003-11-24 21:56:13

Modified files:
	gcc            : ChangeLog cpphash.h cpplib.c cpplib.h 
	                 c-common.c c-common.h c-opts.c 

Log message:
	More flexible fragment "chunking".
	* cpplib.c (if_stack_length):  New function.
	(_cpp_start_fragment):  Set or handle fragments cond_nesting field.
	(_cpp_handle_directive):  Smarter fragment handling.  Don't create new
	fragment if currently_skipping, nor for #ifdef etc if callback
	avoid_new_fragment returns true.
	* cpphash.h (struct cpp_fragment):  New field cond_nesting.
	* cpplib.h (struct cpp_callbacks):  New avoid_new_fragment field.
	* c-common.h (cb_avoid_new_fragment):  New declaration.
	* c-common.c (cb_avoid_new_fragment):  New callback function.
	* c-opts.c (init_c_common_once):  Set avoid_new_fragment callback.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.57&r2=2.618.2.58
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpphash.h.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.194.2.8&r2=1.194.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.348.2.5&r2=1.348.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.261.2.7&r2=1.261.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.438.2.11&r2=1.438.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.194.2.7&r2=1.194.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.79.2.10&r2=1.79.2.11


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]