diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | parse.y | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sat Jun 11 22:34:44 2005 Minero Aoki <aamine@loveruby.net> + + * parse.y: missing arg_paren event. This patch is contributed by + Mitchell N Charity. + Fri Jun 10 23:55:17 2005 Tanaka Akira <akr@m17n.org> * eval.c (unknown_node): show more information. [ruby-dev:26196] @@ -2132,7 +2132,7 @@ paren_args : '(' none ')' $$ = NEW_LIST($2); /*% rb_warn0("parenthesize argument for future version"); - $$ = arg_add(arg_new(), $2); + $$ = dispatch1(arg_paren, arg_add(arg_new(), $2)); %*/ } | '(' args ',' block_call rparen @@ -2142,7 +2142,7 @@ paren_args : '(' none ')' $$ = list_append($2, $4); /*% rb_warn0("parenthesize argument for future version"); - $$ = dispatch1(arg_paren, arg_add(arg_new(), $4)); + $$ = dispatch1(arg_paren, arg_add($2, $4)); %*/ } ; |