This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/48740] Raw C++0x strings and trigraphs mix badly


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48740

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-23 23:33:42 UTC ---
Author: jakub
Date: Sat Apr 23 23:33:39 2011
New Revision: 172904

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172904
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:
    branches/gcc-4_6-branch/gcc/testsuite/c-c++-common/raw-string-11.c
Modified:
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/libcpp/ChangeLog
    branches/gcc-4_6-branch/libcpp/lex.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]