summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-21 08:45:34 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-21 08:45:34 +0000
commitc9accd03e721f1455ccdf3f09f5251d6b93c1b4b (patch)
treee7e9ebbc425d88a42d68c78ac20d10c858318f5c /parse.y
parent303974887a95ca34448821e16eec339b30d25da6 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index edc745b3db..fcdee13cbe 100644
--- a/parse.y
+++ b/parse.y
@@ -849,6 +849,10 @@ arg : lhs '=' arg
}
aref_args : none
+ | command_call opt_nl
+ {
+ $$ = NEW_LIST($1);
+ }
| args opt_nl
{
$$ = $1;