Browse Source

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

rlar 15 years ago
parent
commit
f70bf82865
  1. 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…
Cancel
Save