Fixed precedence.
This commit is contained in:
parent
35322de3ac
commit
0731e40e6a
@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
%token NL
|
%token NL
|
||||||
|
|
||||||
%left DIV PLUS MULT SUB
|
%left PLUS SUB
|
||||||
|
%left MULT DIV
|
||||||
%precedence NEG
|
%precedence NEG
|
||||||
|
|
||||||
%type<fval> num;
|
%type<fval> num;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user