diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 09:55:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 09:55:50 +0000 |
commit | 90c543e483ae608632f6c6c787ea4214e4d6df1a (patch) | |
tree | 714e79f4471399ffb046abb263076f3b373f65f2 /node.c | |
parent | d5a9735112477a7f54112a118afddf6312d6379c (diff) | |
download | ruby-90c543e483ae608632f6c6c787ea4214e4d6df1a.tar.gz |
node.c: mark u3 of NODE_MATCH2
* node.c (rb_gc_mark_node): NODE_MATCH2 can have nd_args, u3,
since r54100.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1026,6 +1026,7 @@ rb_gc_mark_node(NODE *obj) case NODE_RESBODY: case NODE_CLASS: case NODE_BLOCK_PASS: + case NODE_MATCH2: rb_gc_mark(RNODE(obj)->u2.value); /* fall through */ case NODE_BLOCK: /* 1,3 */ @@ -1056,7 +1057,6 @@ rb_gc_mark_node(NODE *obj) case NODE_DOT3: case NODE_FLIP2: case NODE_FLIP3: - case NODE_MATCH2: case NODE_MATCH3: case NODE_OP_ASGN_OR: case NODE_OP_ASGN_AND: |