diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-29 15:00:43 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-29 15:00:43 +0000 |
commit | 7fe0ef3add4739e6e03d6a75cafd25a09198c5a4 (patch) | |
tree | 876f46ded2898ed88f7228731ce8d1688068e6d7 /libcpp/charset.c | |
parent | 1da234593cd89d22d1661961d223518d07b73012 (diff) | |
download | gcc-7fe0ef3add4739e6e03d6a75cafd25a09198c5a4.tar.gz |
Some raw string changes from N3077
* charset.c (cpp_interpret_string): Change inner delimiters to ().
* lex.c (lex_raw_string): Likewise. Also disallow '\' in delimiter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/charset.c')
-rw-r--r-- | libcpp/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/charset.c b/libcpp/charset.c index 837ccd77aab..282430fe9ed 100644 --- a/libcpp/charset.c +++ b/libcpp/charset.c @@ -1396,7 +1396,7 @@ cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count, /* Skip over 'R"'. */ p += 2; prefix = p; - while (*p != '[') + while (*p != '(') p++; p++; limit = from[i].text + from[i].len; |