OSDN Git Service

* cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2001 06:19:39 +0000 (06:19 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2001 06:19:39 +0000 (06:19 +0000)
commit36a0aa7ca717583de4d0d2eda4ab721ed5907cdb
tree31a44a63f5280d362281e3aedf7c120f4aed024a
parentddc639964860fe71f46b6c3a679372d24af4a9ce
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44533 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplex.c
gcc/cpplib.h
gcc/cppmacro.c