1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (singleton): no need to re-create NODE_SELF() again.

[ruby-core:09177]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-10-14 14:46:16 +00:00
parent 41f3f0eb66
commit c6effd0182
2 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,8 @@
Sat Oct 14 23:39:50 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (singleton): no need to re-create NODE_SELF() again.
[ruby-core:09177]
Sat Oct 14 23:25:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (parser_warning, parser_warn): some error message may

View file

@ -4240,13 +4240,8 @@ opt_f_block_arg : ',' f_block_arg
singleton : var_ref
{
/*%%%*/
if ($1 && nd_type($1) == NODE_SELF) {
$$ = NEW_SELF();
}
else {
$$ = $1;
value_expr($$);
}
$$ = $1;
value_expr($$);
/*%
$$ = $1;
%*/