summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 064e977e9a9..d17591253cf 100644
--- a/parse.y
+++ b/parse.y
@@ -8561,7 +8561,7 @@ str_suffix_gen(struct parser_params *parser, NODE *node, long opt)
#endif
#if STR_OPTION_FROZEN
if (opt & STR_OPTION_FROZEN) {
- OBJ_FREEZE(node->nd_lit);
+ node->nd_lit = rb_fstring(node->nd_lit);
nd_set_type(node, NODE_LIT);
}
#endif