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:
parent
51b0230a9b
commit
ba6a3f5f43
1 changed files with 1 additions and 0 deletions
1
parse.y
1
parse.y
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue