]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/57824 (Raw string literals not handled correctly in macro argument...
authorJakub Jelinek <jakub@redhat.com>
Wed, 10 Jul 2013 16:52:19 +0000 (18:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 10 Jul 2013 16:52:19 +0000 (18:52 +0200)
commitd5e48350b40fcec6459dceef282f2ecf6eba3201
tree8a55834621f16e95b2d8489959ff64d7803cc254
parentc26302d5351c07a12a5c434f392a5df89381dd8e
re PR preprocessor/57824 (Raw string literals not handled correctly in macro arguments or deferred pragmas)

PR preprocessor/57824
* lex.c (lex_raw_string): Allow reading new-lines if
in_deferred_pragma or if parsing_args and there is still
data in the current buffer.

* c-c++-common/raw-string-17.c: New test.
* c-c++-common/gomp/pr57824.c: New test.

From-SVN: r200879
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr57824.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/raw-string-17.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/lex.c