]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
c-ppoutput.c (scan_translation_unit): Call account_for_newlines for all CPP_TOKEN_FLD...
authorJakub Jelinek <jakub@redhat.com>
Wed, 10 Jul 2013 16:49:24 +0000 (18:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 10 Jul 2013 16:49:24 +0000 (18:49 +0200)
commitc26302d5351c07a12a5c434f392a5df89381dd8e
treefb33b01daeb32c3b1c99c9c4f1501ea19669801f
parentdfeadaa00be8251addff242849f6165ea9ee480c
c-ppoutput.c (scan_translation_unit): Call account_for_newlines for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT.

* c-ppoutput.c (scan_translation_unit): Call account_for_newlines
for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT.

* include/cpplib.h (cpp_token_val_index): Change parameter type to
const cpp_token *.
* lex.c (cpp_token_val_index): Likewise.

* c-c++-common/raw-string-18.c: New test.
* c-c++-common/raw-string-19.c: New test.

From-SVN: r200878
gcc/c-family/ChangeLog
gcc/c-family/c-ppoutput.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/raw-string-18.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/raw-string-19.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/include/cpplib.h
libcpp/lex.c