Project

General

Profile

Feature #3845 ยป in.expression.diff

adgar (Michael Edgar), 07/10/2011 09:22 AM

View differences:

parse.y (working copy)
%left keyword_or keyword_and
%right keyword_not
%nonassoc keyword_defined
%nonassoc keyword_in
%right '=' tOP_ASGN
%left modifier_rescue
%right '?' ':'
......
$$ = dispatch3(binary, $1, ripper_intern("!~"), $3);
%*/
}
| arg keyword_in arg
{
/*%%%*/
$$ = call_bin_op($3, rb_intern("include?"), $1);
/*%
$$ = dispatch3(call, $3, ripper_intern("in"), ripper_intern("include?"));
$$ = method_optarg($$, $1);
%*/
}
| '!' arg
{
/*%%%*/
    (1-1/1)