main.c, ngnutmeg command processing loop

This commit is contained in:
rlar 2011-07-02 20:11:31 +00:00
parent 75c10da5b5
commit 4d8e4cfc89
1 changed files with 6 additions and 3 deletions

View File

@ -1320,9 +1320,12 @@ evl:
evl:
/* Nutmeg "main" */
(void) SETJMP(jbuf, 1);
cp_interactive = TRUE;
app_rl_readlines(); /* enter the command processing loop */
for(;;)
if(!SETJMP(jbuf, 1)) {
/* enter the command processing loop */
cp_interactive = TRUE;
app_rl_readlines();
}
#endif /* ~ SIMULATOR */