diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-07 02:51:31 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-07 02:51:31 +0000 |
commit | 9a34aff98c9b84a305c462266be7d7098eb6cd43 (patch) | |
tree | bd8a040eac8bd343730e29ca006a4a2b99b15670 /parse.y | |
parent | 7fb0ec7467f2d594a16ccdb4f5ad9a6c3a32dc20 (diff) | |
download | ruby-9a34aff98c9b84a305c462266be7d7098eb6cd43.tar.gz ruby-9a34aff98c9b84a305c462266be7d7098eb6cd43.tar.xz ruby-9a34aff98c9b84a305c462266be7d7098eb6cd43.zip |
* parse.y (arg): tUPLUS no longer works as identity operation any
more. inspired by [ruby-talk:265532].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -2035,12 +2035,7 @@ arg : lhs '=' arg | tUPLUS arg { /*%%%*/ - if ($2 && nd_type($2) == NODE_LIT) { - $$ = $2; - } - else { - $$ = call_uni_op($2, tUPLUS); - } + $$ = call_uni_op($2, tUPLUS); /*% $$ = dispatch2(unary, ripper_intern("+@"), $2); %*/ |