From 019a9152db33a77a7ad493804ccf0ad8e3bc2115 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 26 Jun 1991 17:23:55 +0000 Subject: [PATCH] Fixed grammar --- doc/LLgen/LLgen.n | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/LLgen/LLgen.n b/doc/LLgen/LLgen.n index 29c20678..c69c5217 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 ]?