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/57620] Phantom terminator confuses raw string literal parsing.


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Jul 21 02:28:03 2013
New Revision: 201091

URL: http://gcc.gnu.org/viewcvs?rev=201091&root=gcc&view=rev
Log:
    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.

Added:
    trunk/gcc/testsuite/c-c++-common/raw-string-13.c
    trunk/gcc/testsuite/c-c++-common/raw-string-14.c
    trunk/gcc/testsuite/c-c++-common/raw-string-15.c
    trunk/gcc/testsuite/c-c++-common/raw-string-16.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/raw-string-2.c
    trunk/libcpp/ChangeLog
    trunk/libcpp/lex.c


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