> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 21:59:09 up 22:15, 2 users, load average: 0.66, 0.49, 0.62
This commit is contained in:
parent
831b0b6889
commit
67bf630b6b
1 changed files with 1 additions and 2 deletions
|
@ -137,8 +137,7 @@ static paddr_t parse_expr(const char *arg, bool *success) {
|
|||
// *success = res;
|
||||
paddr_t addr;
|
||||
yy_scan_string(arg);
|
||||
*success = yyparse(&addr);
|
||||
printf("sucess: %d", *success);
|
||||
*success = !yyparse(&addr);
|
||||
yylex_destroy();
|
||||
return addr;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue