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) --- */
|
} /* --- if (ft_batchmode) --- */
|
||||||
|
|
||||||
|
|
||||||
for(;;)
|
|
||||||
if(!SETJMP(jbuf, 1)) {
|
|
||||||
/* enter the command processing loop */
|
|
||||||
cp_interactive = TRUE;
|
|
||||||
app_rl_readlines();
|
|
||||||
}
|
|
||||||
|
|
||||||
#else /* ~ SIMULATOR */
|
#else /* ~ SIMULATOR */
|
||||||
|
|
||||||
if (ft_nutmeg && gdata) {
|
if (ft_nutmeg && gdata) {
|
||||||
|
|
@ -1321,7 +1314,9 @@ evl:
|
||||||
}
|
}
|
||||||
|
|
||||||
evl:
|
evl:
|
||||||
/* Nutmeg "main" */
|
|
||||||
|
#endif /* ~ SIMULATOR */
|
||||||
|
|
||||||
for(;;)
|
for(;;)
|
||||||
if(!SETJMP(jbuf, 1)) {
|
if(!SETJMP(jbuf, 1)) {
|
||||||
/* enter the command processing loop */
|
/* enter the command processing loop */
|
||||||
|
|
@ -1329,7 +1324,5 @@ evl:
|
||||||
app_rl_readlines();
|
app_rl_readlines();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* ~ SIMULATOR */
|
|
||||||
|
|
||||||
return sp_shutdown(EXIT_NORMAL);
|
return sp_shutdown(EXIT_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue