summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
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
{