fix operatore precedence of */ vs +- in pioasm

This commit is contained in:
graham sanderson 2021-06-28 16:41:36 -05:00 committed by Luke Wren
parent cefe5c5b2a
commit 529d7087eb
2 changed files with 10 additions and 10 deletions

View File

@ -1945,9 +1945,9 @@ namespace yy {
-52, 97, 132, -52, -52, -52, -52, 87, -52, -52, -52, 97, 132, -52, -52, -52, -52, 87, -52, -52,
1, 5, 5, 5, 5, -52, 5, 5, -52, -52, 1, 5, 5, 5, 5, -52, 5, 5, -52, -52,
-52, -52, 29, 118, 5, -52, 170, -52, -52, -52, -52, -52, 29, 118, 5, -52, 170, -52, -52, -52,
107, 177, 1, 1, 1, 1, 1, 1, 1, -52, 182, 177, 1, 1, 1, 1, 1, 1, 1, -52,
-52, -51, -52, 177, 119, -52, -52, -52, -52, -52, -52, -51, -52, 177, 119, -52, -52, -52, -52, -52,
-52, -52, 82, -52, -52, -52, 107, 107, 184, 184, -52, -52, 82, -52, -52, -52, 182, 182, 107, 107,
-52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52,
-52, -52, -52, -52, -52 -52, -52, -52, -52, -52
}; };
@ -1979,9 +1979,9 @@ namespace yy {
const short const short
parser::yypgoto_[] = parser::yypgoto_[] =
{ {
-52, -52, -52, 98, -52, -52, -52, -7, -14, 168, -52, -52, -52, 102, -52, -52, -52, -7, -14, 172,
-52, 99, 102, -52, 148, 25, -52, -52, -52, -52, -52, 99, 103, -52, 146, 25, -52, -52, -52, -52,
-52, -52, -52, -52, 128, -52, 199 -52, -52, -52, -52, 128, -52, 198
}; };
const short const short
@ -2014,8 +2014,8 @@ namespace yy {
12, 13, 14, 15, 16, 17, 18, 19, 20, 149, 12, 13, 14, 15, 16, 17, 18, 19, 20, 149,
163, 176, 142, 143, 144, 145, 146, 147, 148, 165, 163, 176, 142, 143, 144, 145, 146, 147, 148, 165,
142, 143, 144, 145, 146, 147, 148, 142, 143, 144, 142, 143, 144, 145, 146, 147, 148, 142, 143, 144,
145, 146, 147, 148, 142, 143, 135, 99, 146, 147, 145, 146, 147, 148, 144, 145, 146, 147, 148, 125,
148, 125, 139, 131, 138, 36 135, 99, 139, 131, 36, 138
}; };
const unsigned char const unsigned char
@ -2040,8 +2040,8 @@ namespace yy {
31, 32, 33, 34, 35, 36, 37, 38, 39, 7, 31, 32, 33, 34, 35, 36, 37, 38, 39, 7,
52, 52, 10, 11, 12, 13, 14, 15, 16, 9, 52, 52, 10, 11, 12, 13, 14, 15, 16, 9,
10, 11, 12, 13, 14, 15, 16, 10, 11, 12, 10, 11, 12, 13, 14, 15, 16, 10, 11, 12,
13, 14, 15, 16, 10, 11, 98, 29, 14, 15, 13, 14, 15, 16, 12, 13, 14, 15, 16, 53,
16, 53, 103, 75, 102, 6 98, 29, 103, 75, 6, 102
}; };
const signed char const signed char

View File

@ -124,8 +124,8 @@
%left REVERSE %left REVERSE
%left MULTIPLY DIVIDE
%left PLUS MINUS %left PLUS MINUS
%left MULTIPLY DIVIDE
%left AND OR XOR %left AND OR XOR
%printer { yyo << "..."; } <*>; %printer { yyo << "..."; } <*>;