diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-04 06:01:51 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-04 06:01:51 +0000 |
commit | 9c16d334dbc046433429329fdf4a30562deba8b7 (patch) | |
tree | e60fcd064e24743b712ebaa15dc1d242319e31be /parse.y | |
parent | ed353ff1bb6df83138ba33b083bc2d258ad75cfe (diff) | |
download | ruby-9c16d334dbc046433429329fdf4a30562deba8b7.tar.gz |
* parse.y (f_arg): Ripper should not do semantic check. [ruby-dev:26948]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); + %*/ } ; |