Author: marek
Date: 2005-07-08 11:39:19 -0400 (Fri, 08 Jul 2005)
New Revision: 47107

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/cs-parser.jay
Log:
2005-07-08  Marek Safar  <[EMAIL PROTECTED]>

        Fix #52496
        * cs-parser.jay: Less strict event error rule to catch more errors.


Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2005-07-08 15:37:15 UTC (rev 47106)
+++ trunk/mcs/mcs/ChangeLog     2005-07-08 15:39:19 UTC (rev 47107)
@@ -1,3 +1,8 @@
+2005-07-08  Marek Safar  <[EMAIL PROTECTED]>
+
+       Fix #52496
+       * cs-parser.jay: Less strict event error rule to catch more errors.
+
 2005-07-08  Martin Baulig  <[EMAIL PROTECTED]>
 
        * anonymous.cs (CaptureContext.EmitParameterInstance): Correctly

Modified: trunk/mcs/mcs/cs-parser.jay
===================================================================
--- trunk/mcs/mcs/cs-parser.jay 2005-07-08 15:37:15 UTC (rev 47106)
+++ trunk/mcs/mcs/cs-parser.jay 2005-07-08 15:39:19 UTC (rev 47107)
@@ -2109,7 +2109,7 @@
                        implicit_value_parameter_type = null;
                }
          }
-       | opt_attributes opt_modifiers EVENT type namespace_or_type_name 
OPEN_PARENS opt_formal_parameter_list CLOSE_PARENS block {
+       | opt_attributes opt_modifiers EVENT type namespace_or_type_name error {
                MemberName mn = (MemberName) $5;
 
                if (mn.Left != null)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to