> 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 18:33:15 up 17:23, 1 user, load average: 0.32, 0.29, 0.23
This commit is contained in:
@ -174,7 +174,7 @@ int get_level(int type) {
|
||||
}
|
||||
}
|
||||
|
||||
word_t eval(const Token* arr, int p, int q, bool* success) {
|
||||
uint32_t eval(const Token* arr, int p, int q, bool* success) {
|
||||
Assert (p >= 0 && q < nr_token && p >= 0 && q >= 0, "invalid range on eval, "\
|
||||
"p = %d, q = %d\n", p, q);
|
||||
|
||||
@ -222,8 +222,8 @@ word_t eval(const Token* arr, int p, int q, bool* success) {
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t val_l = 0;
|
||||
uint32_t val_r = 0;
|
||||
int32_t val_l = 0;
|
||||
int32_t val_r = 0;
|
||||
if (op != p) {
|
||||
val_l = eval(arr, p, op - 1, success);
|
||||
}
|
||||
|
Reference in New Issue
Block a user