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 | 9606df8c28074f68157bbb4052f216f13ee20cfb (patch) | |
| tree | 2eb540aa77704f50acd1260a603a049d76d11b33 /parse.y | |
| parent | b5572d2a4ad7fd4fe047a1fa5e70b2fd4a393b17 (diff) | |
| download | ruby-9606df8c28074f68157bbb4052f216f13ee20cfb.tar.gz ruby-9606df8c28074f68157bbb4052f216f13ee20cfb.tar.xz ruby-9606df8c28074f68157bbb4052f216f13ee20cfb.zip | |
* parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.
git-svn-id: http://svn.ruby-lang.org/repos/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; + %*/ } ; |
