[Bug c++/57620] Phantom terminator confuses raw string literal parsing.

2013-06-15 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57620

--- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org ---
There seems to be more issues in the raw string literal lexing.  E.g.
const char *s = Ra??/(x)a??/;
should be I think handled the same as
const char *s = x;
with -std=c++11 or -std=gnu++11 -trigraphs, but is not.  We only revert the
phase 1 and phase 2 transformations in between ( and ), but they should
actually be reverted everywhere between the  after R and the final .


[Bug c++/57620] Phantom terminator confuses raw string literal parsing.

2013-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57620

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com ---
Maybe Jakub can have a look.