re PR preprocessor/48740 (Raw C++0x strings and trigraphs mix badly)
authorJakub Jelinek <jakub@redhat.com>
Sat, 23 Apr 2011 23:32:09 +0000 (01:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 23 Apr 2011 23:32:09 +0000 (01:32 +0200)
commit6cfae07011d50127089bc1ae02837f924cefccb2
tree512c00cfe469cc71e5b4077ab0e7dfb1018b4b2b
parent8d6a2f696859496139e6e484dec046c405a69c36
re PR preprocessor/48740 (Raw C++0x strings and trigraphs mix badly)

PR preprocessor/48740
* lex.c (lex_raw_string): When raw string ends with
??) followed by raw prefix and ", ensure it is preprocessed
with ??) rather than ??].

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

From-SVN: r172903
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/raw-string-11.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/lex.c