1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

parse.y (new_regexp_gen): Set column for NODE_SCOPE

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yui-knk 2017-10-29 21:52:54 +00:00
parent 51b0230a9b
commit ba6a3f5f43

View file

@ -9358,6 +9358,7 @@ new_regexp_gen(struct parser_params *parser, NODE *node, int options, int column
}
if (options & RE_OPTION_ONCE) {
node = NEW_NODE(NODE_SCOPE, 0, node, 0);
nd_set_column(node, column);
}
break;
}