diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-19 13:36:03 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-19 13:36:03 +0000 |
commit | e82059ce6ee797f01d83eb7e5fc33f5c365aa776 (patch) | |
tree | 537b0eacbb1108efbd13934f06d9f7ad9fdb45f3 | |
parent | 70321a23d26a831fb474da0dd6b316ad2ac11a03 (diff) | |
download | ruby-e82059ce6ee797f01d83eb7e5fc33f5c365aa776.tar.gz |
parse.y: fix up r61957, too
My apologies!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | parse.y | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1726,7 +1726,7 @@ undef_list : fitem /*%%%*/ $$ = NEW_UNDEF($1, &@$); /*% %*/ - /*% ripper: rb_ary_new3!(1, _get_value($1)) %*/ + /*% ripper: rb_ary_new3!(1, get_value!($1)) %*/ } | undef_list ',' {SET_LEX_STATE(EXPR_FNAME|EXPR_FITEM);} fitem { @@ -1734,7 +1734,7 @@ undef_list : fitem NODE *undef = NEW_UNDEF($4, &@$); $$ = block_append(p, $1, undef); /*% %*/ - /*% ripper: rb_ary_push!($1, _get_value($4)) %*/ + /*% ripper: rb_ary_push!($1, get_value!($4)) %*/ } ; @@ -2074,7 +2074,7 @@ call_args : command /*%%%*/ $$ = arg_blk_pass($1, $2); /*% %*/ - /*% ripper: _arg_add_optblock($1, $2) %*/ + /*% ripper: arg_add_optblock!($1, $2) %*/ } | assocs opt_block_arg { @@ -2082,7 +2082,7 @@ call_args : command $$ = $1 ? NEW_LIST(new_hash(p, $1, &@1), &@1) : 0; $$ = arg_blk_pass($$, $2); /*% %*/ - /*% ripper: _arg_add_optblock(args_add(args_new, bare_assoc_hash($1)), $2) %*/ + /*% ripper: arg_add_optblock!(args_add(args_new, bare_assoc_hash($1)), $2) %*/ } | args ',' assocs opt_block_arg { @@ -2090,7 +2090,7 @@ call_args : command $$ = $3 ? arg_append(p, $1, new_hash(p, $3, &@3), &@$) : $1; $$ = arg_blk_pass($$, $4); /*% %*/ - /*% ripper: _arg_add_optblock(args_add($1, bare_assoc_hash($3)), $4) %*/ + /*% ripper: arg_add_optblock!(args_add($1, bare_assoc_hash($3)), $4) %*/ } | block_arg /*% ripper[brace]: args_add_block(args_new, $1) %*/ @@ -2962,15 +2962,15 @@ opt_bv_decl : opt_nl ; bv_decls : bvar - /*% ripper[brace]: rb_ary_new3!(1, _get_value($1)) %*/ + /*% ripper[brace]: rb_ary_new3!(1, get_value!($1)) %*/ | bv_decls ',' bvar - /*% ripper[brace]: rb_ary_push!($1, _get_value($3)) %*/ + /*% ripper[brace]: rb_ary_push!($1, get_value!($3)) %*/ ; bvar : tIDENTIFIER { new_bv(p, get_id($1)); - /*% ripper: _get_value($1) %*/ + /*% ripper: get_value!($1) %*/ } | f_bad_arg { |