From fd0c8ca52da2228a6424e0f7d911cf9f204bea23 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 31 Oct 1990 16:28:37 +0000 Subject: [PATCH] Fixed bug in example program --- doc/LLgen/LLgen.n | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/LLgen/LLgen.n b/doc/LLgen/LLgen.n index dfb8184b9..29c206787 100644 --- a/doc/LLgen/LLgen.n +++ b/doc/LLgen/LLgen.n @@ -948,7 +948,7 @@ expr(int level, *val;) { int expr; } : ; factor(int *val;): - | '(' expr(1,val) ')' + '(' expr(1,val) ')' | '-' expr(MAXPRIO+1,val) { *val = -*val; } | number(val)