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]

r177799 - in /branches/pph: gcc/cp/ChangeLog.pp...


Author: gchare
Date: Tue Aug 16 20:55:49 2011
New Revision: 177799

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177799
Log:
Force source_location of replayed macro definitions to column 0 of the line the pph was #included on.

	gcc/cp/ChangeLog.pph
	* pph-streamer-in.c (pph_read_file_1): Set location of replayed
	tokens to column 0 of the line the pph file was included on.

	libcpp/ChangeLog.pph
	* include/symtab.h (line-map.h): Add dependency.
	* symtab.c (cpp_lt_replay): Add LOC parameter and force locations
	of tokens replayed to *LOC if non-null.

Modified:
    branches/pph/gcc/cp/ChangeLog.pph
    branches/pph/gcc/cp/pph-streamer-in.c
    branches/pph/libcpp/ChangeLog.pph
    branches/pph/libcpp/include/symtab.h
    branches/pph/libcpp/symtab.c


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