main.c, emphasize the SETJMP wrapper around the command processing loop

This commit is contained in:
rlar 2011-07-02 20:17:37 +00:00
parent ca43d4d57e
commit ebacbe03de
1 changed files with 6 additions and 2 deletions

View File

@ -1303,8 +1303,12 @@ evl:
} /* --- if (ft_batchmode) --- */
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();
}
#else /* ~ SIMULATOR */