* mb-parser.jay: first cut at TypeOf ... Is
svn path=/trunk/mcs/; revision=32222
+2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
+ * mb-parser.jay: first cut at TypeOf ... Is
+
2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
* expression.cs:
* ecore.cs: More enum changes to handle
$$ = new Binary (Binary.Operator.Equality,
(Expression) $1, (Expression) $3, lexer.Location);
}
- | TYPEOF shift_expression IS namespace_or_type_name
+ | TYPEOF shift_expression IS type
{
- //FIXME: Is this rule correctly defined ?
+ //FIXME: Is this rule correctly defined ?
+ $$ = new Is ((Expression) $2, (Expression) $4, lexer.Location);
}
;