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 cppinit.c cppfiles.c fix-header.c cpph ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	compile-server-branch
Changes by:	bothner@gcc.gnu.org	2003-10-18 21:28:14

Modified files:
	gcc            : cppinit.c cppfiles.c fix-header.c cpphash.h 
	                 cpplib.h ChangeLog 

Log message:
	* cppinit.c (cpp_read_main_file):  Split into two functions:
	Distribute _cpp_stack_file call over the two functions.
	(cpp_find_main_file):  New function.
	Don't call _cpp_do_file_change even if working_directory flag set.
	(cpp_push_main_file):  New function.
	* cppfiles.c (_cpp_find_failed):  New helper function.
	(find_file):  Made non-static and renamed to _cpp_find_file.
	(_cpp_stack_file):  No longer needed.  But note the following.
	(stack_file):  Made non-static and renamed to _cpp_stack_file.
	(search_path_head):  If there is no current buffer, use main_file.
	* fix-header.c (cpp_read_main_file):  Replace cpp_read_main_file
	call with calls to cpp_find_main_file and cpp_push_main_file.
	* cpphash.h:  Update function declarations.
	* cpplib.h:  Update function declarations.
	
	* cppfiles.c, cpplib.c, cppmacro.c, cpppch.c, fix-header.c:
	Update callers of cpp_push_buffer.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppinit.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.289.2.1&r2=1.289.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppfiles.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.177.2.6&r2=1.177.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fix-header.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.100.2.3&r2=1.100.2.4
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.4&r2=1.194.2.5
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.5&r2=1.261.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.41&r2=2.618.2.42


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