aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index b04cd40c20..637d9ebb84 100644
--- a/parse.y
+++ b/parse.y
@@ -4106,14 +4106,14 @@ f_arg : f_norm_arg
{
/*%%%*/
VALUE arg = ID2SYM($3);
- /*%
- VALUE arg = $3;
- %*/
$$ = $1;
if (rb_ary_includes($$, arg)) {
yyerror("duplicated argument arg");
}
rb_ary_push($$, arg);
+ /*%
+ rb_ary_push($$, $3);
+ %*/
}
;