diff options
author | Jason Merrill <jason@redhat.com> | 2010-03-29 11:00:43 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-03-29 11:00:43 -0400 |
commit | 521506258fa5b6b57a50b0570d8208894ed19f79 (patch) | |
tree | 876f46ded2898ed88f7228731ce8d1688068e6d7 /libcpp/charset.c | |
parent | 3b34d92c9cabd5249eacf0774980028defeffde0 (diff) | |
download | gcc-521506258fa5b6b57a50b0570d8208894ed19f79.zip gcc-521506258fa5b6b57a50b0570d8208894ed19f79.tar.gz gcc-521506258fa5b6b57a50b0570d8208894ed19f79.tar.bz2 |
Some raw string changes from N3077
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.
From-SVN: r157797
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 837ccd7..282430f 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; |