mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
ed353ff1bb
commit
9c16d334db
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Sep 4 15:01:35 2005 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* parse.y (f_arg): Ripper should not do semantic check.
|
||||
[ruby-dev:26948]
|
||||
|
||||
Sat Sep 3 13:59:31 2005 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend
|
||||
|
|
6
parse.y
6
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);
|
||||
%*/
|
||||
}
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue