diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:40:06 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:40:06 +0000 |
commit | 83b3238d34a83ff2ebc4cb31a776e4855a775a84 (patch) | |
tree | 5503b50d3c829e872547f06c66523c9f7608f298 /parse.y | |
parent | 7b7e511246cf366fdcffb59c72556613550484cc (diff) | |
download | ruby-83b3238d34a83ff2ebc4cb31a776e4855a775a84.tar.gz ruby-83b3238d34a83ff2ebc4cb31a776e4855a775a84.tar.xz ruby-83b3238d34a83ff2ebc4cb31a776e4855a775a84.zip |
merges r25405 from trunk into ruby_1_9_1. fixes the backport task #2233.
--
* parse.y (method_call): dispatch symbols. a patch from Andy Keep in
[ruby-core:26169]. [ruby-core:26165]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3615,8 +3615,8 @@ method_call : operation paren_args $$ = NEW_CALL($1, rb_intern("call"), $3); fixpos($$, $1); /*% - $$ = dispatch3(call, dispatch1(paren, $1), - ripper_id2sym('.'), rb_intern("call")); + $$ = dispatch3(call, $1, ripper_id2sym('.'), + ripper_intern("call")); $$ = method_optarg($$, $3); %*/ } @@ -3626,8 +3626,8 @@ method_call : operation paren_args $$ = NEW_CALL($1, rb_intern("call"), $3); fixpos($$, $1); /*% - $$ = dispatch3(call, dispatch1(paren, $1), - ripper_id2sym('.'), rb_intern("call")); + $$ = dispatch3(call, $1, ripper_intern("::"), + ripper_intern("call")); $$ = method_optarg($$, $3); %*/ } |