Fixed bug in example program

This commit is contained in:
ceriel 1990-10-31 16:28:37 +00:00
parent 9aee9cb62f
commit fd0c8ca52d

View file

@ -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)