ruby-changes:49841
From: mame <ko1@a...>
Date: Fri, 19 Jan 2018 22:36:10 +0900 (JST)
Subject: [ruby-changes:49841] mame:r61959 (trunk): parse.y: fix up r61957, too
mame 2018-01-19 22:36:03 +0900 (Fri, 19 Jan 2018) New Revision: 61959 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61959 Log: parse.y: fix up r61957, too My apologies! Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 61958) +++ parse.y (revision 61959) @@ -1726,7 +1726,7 @@ undef_list : fitem https://github.com/ruby/ruby/blob/trunk/parse.y#L1726 /*%%%*/ $$ = 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 https://github.com/ruby/ruby/blob/trunk/parse.y#L1734 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 https://github.com/ruby/ruby/blob/trunk/parse.y#L2074 /*%%%*/ $$ = 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 https://github.com/ruby/ruby/blob/trunk/parse.y#L2082 $$ = $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 https://github.com/ruby/ruby/blob/trunk/parse.y#L2090 $$ = $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 https://github.com/ruby/ruby/blob/trunk/parse.y#L2962 ; 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 { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/