stage1_2/iec.y
changeset 20 81a06a308b7e
parent 17 38754701ac41
child 28 5b170c9ce134
--- a/stage1_2/iec.y	Wed Feb 28 15:55:41 2007 +0100
+++ b/stage1_2/iec.y	Tue Mar 27 09:39:31 2007 +0200
@@ -70,7 +70,7 @@
  * Printing of debug info must then be activated by setting
  * the variable yydebug to 1.
  */
-#define YYDEBUG 0
+#define YYDEBUG 1
 
 
 /* file with declaration of absyntax classes... */
@@ -151,7 +151,7 @@
 
 
 
-%glr-parser
+// %glr-parser
 // %expect-rr 1
 
 
@@ -5063,6 +5063,8 @@
 case_element:
   case_list ':' statement_list
 	{$$ = new case_element_c($1, $3);}
+| case_list ':' statement_list identifier BOGUS_TOKEN_ID
+	{$$ = new case_element_c($1, $3); ERROR;}
 ;