> 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 09:23:07 up 13:22, 2 users, load average: 0.31, 0.23, 0.19
This commit is contained in:
@ -143,7 +143,7 @@ static bool make_token(char *e) {
|
||||
int check_parentheses(const Token* arr, size_t p, size_t q) {
|
||||
int cnt = 0;
|
||||
bool is_surrounded = false;
|
||||
Assert (p >= 0 && p < q && q < nr_token, "invalid range on check_parentheses, "\
|
||||
Assert (p >= 0 && q < nr_token, "invalid range on check_parentheses, "\
|
||||
"p = %"PRIuMAX", q = %"PRIuMAX"\n", p, q);
|
||||
for (size_t i = p; i <= q; i ++) {
|
||||
if (arr[i].type == '(') {
|
||||
|
Reference in New Issue
Block a user