From de1ba9963143330d665ff31460b78801bd552176 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Fri, 19 Jun 2015 11:29:30 +0800 Subject: [PATCH] Update main.c --- shell/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/shell/main.c b/shell/main.c index 3600a18..0e36f38 100755 --- a/shell/main.c +++ b/shell/main.c @@ -201,8 +201,6 @@ static int beep(struct mb_interpreter_t* s, void** l) { putchar('\a'); - mb_schedule_suspend(s, MB_FUNC_SUSPEND); - return result; } @@ -450,7 +448,6 @@ static int _do_line(void) { for(i = 0; i < c->count; ++i) mb_load_string(bas, c->lines[i]); result = mb_run(bas); - result = mb_run(bas); printf("\n"); } else if(_str_eq(line, "BYE")) { result = MB_FUNC_BYE;