]> gcc.gnu.org Git - gcc.git/commit - gcc/cpplex.c
cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
authorNeil Booth <neil@cat.daikokuya.demon.co.uk>
Wed, 1 Aug 2001 06:19:39 +0000 (06:19 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 1 Aug 2001 06:19:39 +0000 (06:19 +0000)
commit1444f2ed7cfaf30f6e50da21f9a74e164f1fad84
tree31a44a63f5280d362281e3aedf7c120f4aed024a
parent7f8a212577aa9bc71a1828635b426c3f2157c3b6
cpphash.h (struct cpp_reader): New members line, pseudo_newlines.

* cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
* cpplex.c (handle_newline): Update prototype.  Maintain logical
line number.
(skip_escaped_newlines, skip_block_comment, parse_string):
Update accordingly.
(_cpp_lex_token): Update, and store token position within the token.
* cpplib.h (struct cpp_token): Add line and column entries.
* cppmacro.c (replace_args): Position stringified tokens correctly.

From-SVN: r44533
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplex.c
gcc/cpplib.h
gcc/cppmacro.c
This page took 0.059672 seconds and 5 git commands to generate.