[Bug preprocessor/48740] Raw C++0x strings and trigraphs mix badly
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 23 23:32:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48740
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-23 23:32:12 UTC ---
Author: jakub
Date: Sat Apr 23 23:32:09 2011
New Revision: 172903
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172903
Log:
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.
Added:
trunk/gcc/testsuite/c-c++-common/raw-string-11.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/lex.c
More information about the Gcc-bugs
mailing list