Revert ".control and `B' parser, fix precedence of '-' versus '^'"
This reverts commit b32ae9f79b.
This commit is contained in:
parent
d6c88b0e9a
commit
adc1546e59
|
|
@ -90,8 +90,8 @@
|
|||
%right ','
|
||||
%left '-' '+'
|
||||
%left '*' '/' '%'
|
||||
%left NEG /* negation--unary minus */
|
||||
%right '^' /* exponentiation */
|
||||
%left NEG /* negation--unary minus */
|
||||
%left '[' ']'
|
||||
|
||||
%initial-action /* initialize yylval */
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@
|
|||
%left TOK_LE TOK_LT TOK_GE TOK_GT
|
||||
%left '-' '+'
|
||||
%left '*' '/'
|
||||
%left NEG '!' /* negation--unary minus, and boolean not */
|
||||
%left '^' /* exponentiation */
|
||||
%left NEG '!' /* negation--unary minus, and boolean not */
|
||||
|
||||
%initial-action /* initialize yylval */
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue