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