diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 04:38:20 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 04:38:20 +0000 |
commit | 1238d358f14e88fb81907ff39c28befa71219a9b (patch) | |
tree | 2be96eeda7ba886c678196c554e0162fc9016adf /parse.y | |
parent | 61e2c7ff61a8faab122c3b2c63a25ff811f268a1 (diff) |
merge revision(s) 53411,53425: [Backport #11932]
* parse.y (regexp): set_yylval_num sets u1, should use nd_tag
instead of nd_state. [ruby-core:72638] [Bug #11932]
* parse.y (set_yylval_num): should be used as nd_state, set to u3.
[ruby-core:72638] [Bug #11932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4037,7 +4037,7 @@ regexp : tREGEXP_BEG regexp_contents tREGEXP_END } if (ripper_is_node_yylval(opt)) { $3 = RNODE(opt)->nd_rval; - options = (int)RNODE(opt)->nd_state; + options = (int)RNODE(opt)->nd_tag; } if (src && NIL_P(rb_parser_reg_compile(parser, src, options, &err))) { compile_error(PARSER_ARG "%"PRIsVALUE, err); |