diff options
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -2414,6 +2414,18 @@ opt_paren_args : none opt_call_args : none | call_args + | args ',' + { + $$ = $1; + } + | args ',' assocs ',' + { + /*%%%*/ + $$ = arg_append($1, NEW_HASH($3)); + /*% + $$ = arg_add_assocs($1, $3); + %*/ + } ; call_args : command @@ -2487,10 +2499,6 @@ opt_block_arg : ',' block_arg { $$ = $2; } - | ',' - { - $$ = 0; - } | none { $$ = 0; |