Skip to content

Commit

Permalink
dispatch symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Jan 19, 2012
1 parent 74c29d7 commit 085b964
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions parse.y
Expand Up @@ -3649,8 +3649,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);
%*/
}
Expand All @@ -3660,8 +3660,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);
%*/
}
Expand Down

0 comments on commit 085b964

Please sign in to comment.