1
0
Fork 0
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:
Nobuyoshi Nakada 2019-05-20 12:43:52 +09:00
parent 9f49ff4965
commit 7ef548c0ac
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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;