1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (parser_tokadd_string): the byte after ``\'' may be a part of

multibyte character, so pushback it. [ruby-list:46416]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2009-09-28 02:40:30 +00:00
parent b07650769e
commit 438b28d3f7
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Sep 28 11:38:07 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* parse.y (parser_tokadd_string): the byte after ``\'' may be a part of
multibyte character, so pushback it. [ruby-list:46416]
Mon Sep 28 10:06:38 2009 NARUSE, Yui <naruse@ruby-lang.org>
* stringio/stringio.c (strio_read): set ASCII-8BIT encoding

View file

@ -5737,6 +5737,8 @@ parser_tokadd_string(struct parser_params *parser,
}
else if (c != term && !(paren && c == paren)) {
tokadd('\\');
pushback(c);
continue;
}
}
}