Fixed bug in example program
This commit is contained in:
parent
9aee9cb62f
commit
fd0c8ca52d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue