Hi,
"Marek Safar <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> writes:
> Modified: trunk/mcs/mcs/cs-parser.jay
> ===================================================================
> --- trunk/mcs/mcs/cs-parser.jay 2005-03-03 15:31:20 UTC (rev 41398)
> +++ trunk/mcs/mcs/cs-parser.jay 2005-03-03 16:26:48 UTC (rev 41399)
> @@ -1740,6 +1740,9 @@
> }
> operator_body
> {
> + if ($3 == null)
> + break;
This seems overly dependent on the parser-generated code being a
switch. Why not write it as
if ($3 != null) {
// rest of body
}
Thanks,
- Hari
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches