Skip to content

Commit ce0179e

Browse files
committed
Rename putstring instruction as dupstring
ruby/ruby@072a6a4
1 parent ae347b7 commit ce0179e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/prism.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5074,7 +5074,7 @@ pm_interpolated_regular_expression_node_closing_set(pm_parser_t *parser, pm_inte
50745074
* PM_NODE_FLAG_STATIC_LITERAL indicates that the node should be treated as a
50755075
* single static literal string that can be pushed onto the stack on its own.
50765076
* Note that this doesn't necessarily mean that the string will be frozen or
5077-
* not; the instructions in CRuby will be either putobject or putstring,
5077+
* not; the instructions in CRuby will be either either putobject, dupstring or dupchilledstring,
50785078
* depending on the combination of `--enable-frozen-string-literal`,
50795079
* `# frozen_string_literal: true`, and whether or not there is interpolation.
50805080
*

0 commit comments

Comments
 (0)