* parse.y (rb_str_dynamic_intern): fix commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
33b8663f1b
commit
5620a51996
2
parse.y
2
parse.y
@ -10683,7 +10683,7 @@ rb_str_dynamic_intern(VALUE str)
|
|||||||
if (enc != ascii) {
|
if (enc != ascii) {
|
||||||
if (sym_check_asciionly(str)) {
|
if (sym_check_asciionly(str)) {
|
||||||
str = rb_str_dup(str);
|
str = rb_str_dup(str);
|
||||||
rb_enc_associate(dup, ascii);
|
rb_enc_associate(str, ascii);
|
||||||
OBJ_FREEZE(str);
|
OBJ_FREEZE(str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user