ceriel преди 33 години
родител
ревизия
019a9152db
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      doc/LLgen/LLgen.n

+ 3 - 2
doc/LLgen/LLgen.n

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