Feature #12125 » method_shorthand.diff
| defs/id.def | ||
|---|---|---|
|
bt
|
||
|
bt_locations
|
||
|
call
|
||
|
method
|
||
|
mesg
|
||
|
exception
|
||
| parse.y | ||
|---|---|---|
|
$$ = method_optarg($$, $4);
|
||
|
%*/
|
||
|
}
|
||
|
| primary_value tLAMBDA operation3
|
||
|
{
|
||
|
/*%%%*/
|
||
|
$$ = NEW_CALL($1, idMethod, NEW_LIST(NEW_LIT(ID2SYM($3))));
|
||
|
/*%
|
||
|
%*/
|
||
|
}
|
||
|
| primary_value tCOLON2
|
||
|
{
|
||
|
/*%%%*/
|
||