]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/57620 (Phantom terminator confuses raw string literal parsing.)
authorJakub Jelinek <jakub@redhat.com>
Sun, 21 Jul 2013 02:28:03 +0000 (04:28 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 21 Jul 2013 02:28:03 +0000 (04:28 +0200)
commit8cf887352b795b59e9666513f8c8ca0c0908a38c
tree6ed6396fa7b067df8a3ff310a4f33ede51228e59
parenta1d6f2a23f5d336b13d7d1a2a5306ec785cdbd74
re PR preprocessor/57620 (Phantom terminator confuses raw string literal parsing.)

PR preprocessor/57620
* lex.c (lex_raw_string): Undo phase1 and phase2 transformations
between R" and final " rather than only in between R"del( and )del".

* c-c++-common/raw-string-2.c (s12, u12, U12, L12): Remove.
(main): Don't test {s,u,U,L}12.
* c-c++-common/raw-string-13.c: New test.
* c-c++-common/raw-string-14.c: New test.
* c-c++-common/raw-string-15.c: New test.
* c-c++-common/raw-string-16.c: New test.

From-SVN: r201091
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/raw-string-13.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/raw-string-14.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/raw-string-15.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/raw-string-16.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/raw-string-2.c
libcpp/ChangeLog
libcpp/lex.c