Revert ".control and `B' parser, fix precedence of '-' versus '^'"

This reverts commit b32ae9f79b.
This commit is contained in:
Holger Vogt 2021-09-14 14:14:29 +02:00
parent d6c88b0e9a
commit adc1546e59
2 changed files with 2 additions and 2 deletions

View File

@ -90,8 +90,8 @@
%right ','
%left '-' '+'
%left '*' '/' '%'
%left NEG /* negation--unary minus */
%right '^' /* exponentiation */
%left NEG /* negation--unary minus */
%left '[' ']'
%initial-action /* initialize yylval */

View File

@ -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 */
{