diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-25 16:05:17 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-25 16:05:17 +0000 |
commit | ed4e57690c9cc782ab8675c4bf48153ce0a36896 (patch) | |
tree | 5cdf90849da2ef0e17458f17b2d8358929c7a7d2 /parse.y | |
parent | 588e79f7688c9b7f085cb8d46b9289e4769f4135 (diff) | |
download | ruby-ed4e57690c9cc782ab8675c4bf48153ce0a36896.tar.gz |
* insnhelper.ci, vm.c: complete block parameter support.
post arguments, optional arguments, block argument.
* compile.c, parse.y: fix {|a|} parameter.
* insnshelper.ci, insns.def: revert caller_setup_args() option
(need_block_check) parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3091,9 +3091,7 @@ block_param : f_arg ',' f_rest_arg opt_f_block_arg | f_arg ',' { /*%%%*/ - ID id = internal_id(); - arg_var(id); - $$ = new_args($1, 0, id, 0, 0); + $$ = new_args($1, 0, 1, 0, 0); /*% #if 0 TODO: check me (anonymous rest) |