Author: miguel
Date: 2006-08-29 17:55:06 -0400 (Tue, 29 Aug 2006)
New Revision: 64523
Modified:
trunk/mcs/gmcs/ChangeLog
trunk/mcs/gmcs/cs-parser.jay
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/cs-parser.jay
Log:
2006-08-29 Miguel de Icaza <[EMAIL PROTECTED]>
* cs-parser.jay: Turn 1522 into a warning, instead of an error #79210
Modified: trunk/mcs/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog 2006-08-29 20:32:04 UTC (rev 64522)
+++ trunk/mcs/gmcs/ChangeLog 2006-08-29 21:55:06 UTC (rev 64523)
@@ -1,3 +1,7 @@
+2006-08-29 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * cs-parser.jay: Turn 1522 into a warning, instead of an error #79210
+
2006-08-17 Miguel de Icaza <[EMAIL PROTECTED]>
* cs-tokenizer.cs: Apply patch from Atsushi Enomoto that fixes
Modified: trunk/mcs/gmcs/cs-parser.jay
===================================================================
--- trunk/mcs/gmcs/cs-parser.jay 2006-08-29 20:32:04 UTC (rev 64522)
+++ trunk/mcs/gmcs/cs-parser.jay 2006-08-29 21:55:06 UTC (rev 64523)
@@ -4294,7 +4294,8 @@
opt_switch_sections
: /* empty */
{
- Report.Error (1522, lexer.Location, "Empty switch block");
+ Report.Warning (1522, 1, lexer.Location, "Empty switch block");
+ $$ = new ArrayList ();
}
| switch_sections
;
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2006-08-29 20:32:04 UTC (rev 64522)
+++ trunk/mcs/mcs/ChangeLog 2006-08-29 21:55:06 UTC (rev 64523)
@@ -1,3 +1,7 @@
+2006-08-29 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * cs-parser.jay: Turn 1522 into a warning, instead of an error #79210
+
2006-08-17 Miguel de Icaza <[EMAIL PROTECTED]>
* cs-tokenizer.cs: Apply patch from Atsushi Enomoto that fixes
Modified: trunk/mcs/mcs/cs-parser.jay
===================================================================
--- trunk/mcs/mcs/cs-parser.jay 2006-08-29 20:32:04 UTC (rev 64522)
+++ trunk/mcs/mcs/cs-parser.jay 2006-08-29 21:55:06 UTC (rev 64523)
@@ -3921,7 +3921,8 @@
opt_switch_sections
: /* empty */
{
- Report.Error (1522, lexer.Location, "Empty switch block");
+ Report.Warning (1522, 1, lexer.Location, "Empty switch block");
+ $$ = new ArrayList ();
}
| switch_sections
;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches