Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(113)

Issue 4905050: [pph] Force token location for replayed macro definitions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Gabriel Charette
Modified:
12 years, 10 months ago
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M gcc/cp/pph-streamer-in.c View 2 chunks +8 lines, -2 lines 0 comments Download
M libcpp/include/symtab.h View 2 chunks +3 lines, -1 line 0 comments Download
M libcpp/symtab.c View 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 2
Gabriel Charette
This patch follows issue4907044. Replayed definitions were given new source locations in the lexer. This ...
12 years, 10 months ago (2011-08-16 20:38:50 UTC) #1
Diego Novillo
12 years, 10 months ago (2011-08-16 20:40:37 UTC) #2
On 08/16/2011 04:38 PM, Gabriel Charette wrote:

> 2011-08-16  Gabriel Charette<gchare@google.com>
>
> 	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.

OK.


Diego.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b