aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/parse.y b/parse.y
index 109fe23906..e37cdeaac2 100644
--- a/parse.y
+++ b/parse.y
@@ -2389,7 +2389,7 @@ aref_args : none
| args ',' assocs trailer
{
/*%%%*/
- $$ = $3 ? arg_append($1, new_hash($3, &@$), &@$) : $1;
+ $$ = $3 ? arg_append($1, new_hash($3, &@3), &@$) : $1;
/*%
$$ = arg_add_assocs($1, $3);
%*/
@@ -2397,7 +2397,7 @@ aref_args : none
| assocs trailer
{
/*%%%*/
- $$ = $1 ? new_list(new_hash($1, &@$), &@$) : 0;
+ $$ = $1 ? new_list(new_hash($1, &@1), &@$) : 0;
/*%
$$ = arg_add_assocs(arg_new(), $1);
%*/
@@ -2446,7 +2446,7 @@ opt_call_args : none
| args ',' assocs ','
{
/*%%%*/
- $$ = $3 ? arg_append($1, new_hash($3, &@$), &@$) : $1;
+ $$ = $3 ? arg_append($1, new_hash($3, &@3), &@$) : $1;
/*%
$$ = arg_add_assocs($1, $3);
%*/
@@ -2454,7 +2454,7 @@ opt_call_args : none
| assocs ','
{
/*%%%*/
- $$ = $1 ? new_list(new_hash($1, &@$), &@$) : 0;
+ $$ = $1 ? new_list(new_hash($1, &@1), &@$) : 0;
/*%
$$ = arg_add_assocs(arg_new(), $1);
%*/
@@ -2481,7 +2481,7 @@ call_args : command
| assocs opt_block_arg
{
/*%%%*/
- $$ = $1 ? new_list(new_hash($1, &@$), &@$) : 0;
+ $$ = $1 ? new_list(new_hash($1, &@1), &@$) : 0;
$$ = arg_blk_pass($$, $2);
/*%
$$ = arg_add_assocs(arg_new(), $1);
@@ -2491,7 +2491,7 @@ call_args : command
| args ',' assocs opt_block_arg
{
/*%%%*/
- $$ = $3 ? arg_append($1, new_hash($3, &@$), &@$) : $1;
+ $$ = $3 ? arg_append($1, new_hash($3, &@3), &@$) : $1;
$$ = arg_blk_pass($$, $4);
/*%
$$ = arg_add_optblock(arg_add_assocs($1, $3), $4);