> 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:02:52  up 2 days 12:57,  2 users,  load average: 0.58, 0.61, 0.52
This commit is contained in:
tracer-ysyx 2024-01-16 00:02:52 +08:00 committed by xinyangli
parent 549aaa40fd
commit abcdb33dbf

View file

@ -177,7 +177,7 @@ START_TEST(test_expr_plain_register) {
gpr(i) = i;
printf("%d: %s\n", i, buf);
yy_scan_string(buf);
result = !yyparse(&value);
result = yyparse(&value);
ck_assert_msg(result == 0, "expr = %s\n", buf);
yylex_destroy();