From ba6a3f5f435477ef5142c92782d0d66e975e680b Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sun, 29 Oct 2017 21:52:54 +0000 Subject: [PATCH] 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 --- parse.y | 1 + 1 file changed, 1 insertion(+) diff --git a/parse.y b/parse.y index 7cc5314420..dc83f9267d 100644 --- a/parse.y +++ b/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; }