summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 07f3642fd5..0296f63102 100644
--- a/parse.y
+++ b/parse.y
@@ -1142,7 +1142,7 @@ call_args2 : arg ',' args opt_block_arg
{
value_expr($1);
value_expr($6);
- $$ = list_append(list_concat($1,$3), NEW_HASH($5));
+ $$ = list_append(list_concat(NEW_LIST($1),$3), NEW_HASH($5));
$$ = arg_blk_pass($$, $6);
}
| arg ',' assocs ',' tSTAR arg opt_block_arg