diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-03 13:14:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-03 13:14:19 +0000 |
commit | 72ad8595f2032cfcf73084083306eef909eb42a5 (patch) | |
tree | 885c926e687cec6ef7ab03642a779208a6799962 /parse.y | |
parent | 7b26a97142577b71b4ceb1ffe7ec640d55bdaaec (diff) | |
download | ruby-72ad8595f2032cfcf73084083306eef909eb42a5.tar.gz |
* parse.y (bv_decls, bvar): fix for block variables.
[ruby-dev:39423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3403,7 +3403,7 @@ bv_decls : bvar /*%c%*/ /*%c { - $$ = rb_ary_new2($1); + $$ = rb_ary_new3(1, $1); } %*/ | bv_decls ',' bvar @@ -3417,10 +3417,10 @@ bv_decls : bvar bvar : tIDENTIFIER { - new_bv($1); + new_bv(get_id($1)); /*%%%*/ /*% - $$ = $1; + $$ = get_value($1); %*/ } | f_bad_arg |