summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-01 09:18:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-01 09:18:11 +0000
commit5c3523de765b41584cfcebb8aebbaa6ac9433c35 (patch)
tree6f7bcd6f2beee4a3061b59e5885efed0605edb00 /parse.y
parent87b67b575c4d5dc428ee1f33f0f4d546e5111c10 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y8
1 files changed, 8 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index a9416a7abf..5580500f91 100644
--- a/parse.y
+++ b/parse.y
@@ -859,6 +859,10 @@ aref_args : none
{
$$ = NEW_LIST($1);
}
+ | block_call opt_nl
+ {
+ $$ = NEW_LIST($1);
+ }
| args opt_nl
{
$$ = $1;
@@ -888,6 +892,10 @@ aref_args : none
opt_call_args : none
| call_args opt_nl
+ | block_call opt_nl
+ {
+ $$ = NEW_LIST($1);
+ }
call_args : command_call
{