diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 02:36:58 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 02:36:58 +0000 |
commit | a2643fb4c457cf208c3625c831d6cab715059f03 (patch) | |
tree | 72c3c0f403662bfe3d7a45b37cb1a2981b043641 /parse.y | |
parent | 0c769b714072a8d2aa9b31d1e96cdfaea64f75a5 (diff) |
merges r25209 from trunk into ruby_1_9_1.
--
* parse.y (bv_decls, bvar): fix for block variables.
[ruby-dev:39423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3441,7 +3441,7 @@ bv_decls : bvar /*%c%*/ /*%c { - $$ = rb_ary_new2($1); + $$ = rb_ary_new3(1, $1); } %*/ | bv_decls ',' bvar @@ -3455,10 +3455,10 @@ bv_decls : bvar bvar : tIDENTIFIER { - new_bv($1); + new_bv(get_id($1)); /*%%%*/ /*% - $$ = $1; + $$ = get_value($1); %*/ } | f_bad_arg |