> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 19:14:12 up 18:04, 1 user, load average: 0.25, 0.15, 0.11
This commit is contained in:
@ -217,6 +217,9 @@ uint32_t eval(const Token* arr, int p, int q, bool* success) {
|
||||
int type = arr[i].type;
|
||||
int type_level = get_level(type);
|
||||
if (type_level <= op_type_level) {
|
||||
if (arr[op].type == TK_NEG && type == TK_NEG) {
|
||||
continue;
|
||||
}
|
||||
op = i;
|
||||
op_type_level = type_level;
|
||||
}
|
||||
|
Reference in New Issue
Block a user