main.c, emphasize the common tail of ngnutmeg and ngspice
This commit is contained in:
parent
ebacbe03de
commit
f70bf82865
13
src/main.c
13
src/main.c
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue