diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 08:45:58 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 08:45:58 +0000 |
commit | b0d830174499044035053c9760e77b88fca8b427 (patch) | |
tree | 2eb540aa77704f50acd1260a603a049d76d11b33 /parse.y | |
parent | 45c7ead6ae07a05e9d0301ab40a37fba4a2e33ac (diff) | |
download | ruby-b0d830174499044035053c9760e77b88fca8b427.tar.gz |
* parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -4153,11 +4153,19 @@ f_norm_arg : tCONSTANT f_arg : f_norm_arg { + /*%%%*/ $$ = 1; + /*% + $$ = rb_ary_new(); + %*/ } | f_arg ',' f_norm_arg { + /*%%%*/ $$ = $1 + 1; + /*% + rb_ary_push($$, $3); + %*/ } ; @@ -4273,7 +4281,11 @@ opt_f_block_arg : ',' f_block_arg } | none { - $$ = 0 ; + /*%%%*/ + $$ = 0; + /*% + $$ = Qundef; + %*/ } ; |