> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.71 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan  5 14:18:41 UTC 2024 x86_64 GNU/Linux
 00:10:44  up 2 days 13:05,  2 users,  load average: 0.36, 0.44, 0.47
This commit is contained in:
tracer-ysyx 2024-01-16 00:10:44 +08:00 committed by xinyangli
parent 51c91e8371
commit 87b600d247

View file

@ -177,8 +177,8 @@ START_TEST(test_expr_plain_register) {
gpr(i) = i; gpr(i) = i;
yy_scan_string(buf); yy_scan_string(buf);
result = yyparse(&value); result = yyparse(&value);
ck_assert_msg(result == 0, "expr = %s\n", buf);
yylex_destroy(); yylex_destroy();
ck_assert_msg(result == 0, "expr = %s\n", buf);
ck_assert(value == i); ck_assert(value == i);
for (j = 1; j < 10; j++) { for (j = 1; j < 10; j++) {