> 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:56:31 up 22:12, 2 users, load average: 0.25, 0.47, 0.64
This commit is contained in:
parent
03a073a56d
commit
70eaa7c2bf
3 changed files with 2 additions and 3111 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -135,9 +135,10 @@ static paddr_t parse_expr(const char *arg, bool *success) {
|
|||
// FIXME: We cannot use `parse_uint` here, it accept `-1234` as input
|
||||
// paddr_t addr = parse_uint(arg, &res);
|
||||
// *success = res;
|
||||
yy_scan_string(arg);
|
||||
paddr_t addr;
|
||||
yy_scan_string(arg);
|
||||
*success = yyparse(&addr);
|
||||
yylex_destroy();
|
||||
return addr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue