main.c, emphasize the common tail of ngnutmeg and ngspice

This commit is contained in:
rlar 2011-07-02 20:18:22 +00:00
parent ebacbe03de
commit f70bf82865
1 changed files with 3 additions and 10 deletions

View File

@ -1303,13 +1303,6 @@ evl:
} /* --- if (ft_batchmode) --- */
for(;;)
if(!SETJMP(jbuf, 1)) {
/* enter the command processing loop */
cp_interactive = TRUE;
app_rl_readlines();
}
#else /* ~ SIMULATOR */
if (ft_nutmeg && gdata) {
@ -1321,7 +1314,9 @@ evl:
}
evl:
/* Nutmeg "main" */
#endif /* ~ SIMULATOR */
for(;;)
if(!SETJMP(jbuf, 1)) {
/* enter the command processing loop */
@ -1329,7 +1324,5 @@ evl:
app_rl_readlines();
}
#endif /* ~ SIMULATOR */
return sp_shutdown(EXIT_NORMAL);
}