diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-02 05:44:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-02 05:44:41 +0000 |
commit | 5f19087c5343f8eed31599e6342bb8c4feb1c093 (patch) | |
tree | 7dfe3137bcfcf396a56bdd5814072b69fe3a1ff8 /parse.y | |
parent | b503f299523f25e1b3a22c6664de56da9467fd8f (diff) | |
download | ruby-5f19087c5343f8eed31599e6342bb8c4feb1c093.tar.gz |
parse.y: use nd_tag
* parse.y (regexp): set_yylval_num sets u1, should use nd_tag
instead of nd_state. [ruby-core:72638] [Bug #11932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4042,7 +4042,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); |