> 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 16:01:06 up 16:16, 2 users, load average: 0.51, 0.45, 0.54
This commit is contained in:
parent
affc1c5ff9
commit
1ecdd3e6e2
2 changed files with 4 additions and 10 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
static int is_batch_mode = false;
|
||||
|
||||
extern int yyparse(void);
|
||||
|
||||
// command handlers
|
||||
static int cmd_help(char *args);
|
||||
static int cmd_c(char *args);
|
||||
|
@ -284,6 +286,8 @@ void sdb_mainloop() {
|
|||
cmd_c(NULL);
|
||||
return;
|
||||
}
|
||||
// int res = yyparse();
|
||||
// exit(res);
|
||||
|
||||
for (char *str; (str = rl_gets()) != NULL;) {
|
||||
char *str_end = str + strlen(str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue