Fixed grammar
authorceriel <none@none>
Wed, 26 Jun 1991 17:23:55 +0000 (17:23 +0000)
committerceriel <none@none>
Wed, 26 Jun 1991 17:23:55 +0000 (17:23 +0000)
doc/LLgen/LLgen.n

index 29c2067..c69c521 100644 (file)
@@ -812,11 +812,12 @@ ldecl   : '{'
 
 productions
         : simpleproduction
-          [ '|' DEFAULT? simpleproduction ]*
+          [ '|' simpleproduction ]*
         ;
 
 simpleproduction
-        : [ IF '(' /* Read C-expression here */ ')'
+        : DEFAULT?
+         [ IF '(' /* Read C-expression here */ ')'
           | PREFER
           | AVOID
           ]?