Fixed grammar

This commit is contained in:
ceriel 1991-06-26 17:23:55 +00:00
parent 55d8020292
commit 8cf9b73fbc

View 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
]?