mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Mixed encoding error can continue to parse
This commit is contained in:
parent
9f49ff4965
commit
7ef548c0ac
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -6572,7 +6572,7 @@ tokadd_string(struct parser_params *p,
|
||||||
if (!parser_tokadd_utf8(p, &enc, term,
|
if (!parser_tokadd_utf8(p, &enc, term,
|
||||||
func & STR_FUNC_SYMBOL,
|
func & STR_FUNC_SYMBOL,
|
||||||
func & STR_FUNC_REGEXP)) {
|
func & STR_FUNC_REGEXP)) {
|
||||||
return -1;
|
continue;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue