From: ceriel Date: Wed, 26 Jun 1991 17:23:55 +0000 (+0000) Subject: Fixed grammar X-Git-Tag: release-5-5~1099 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=8cf9b73fbc699037e232db2a656e9e7932e7cfec;p=ack.git Fixed grammar --- diff --git a/doc/LLgen/LLgen.n b/doc/LLgen/LLgen.n index 29c206787..c69c52174 100644 --- a/doc/LLgen/LLgen.n +++ b/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 ]?