This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r177799 - in /branches/pph: gcc/cp/ChangeLog.pp...
- From: gchare at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2011 20:55:49 -0000
- Subject: 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