main.c, emphasize the SETJMP wrapper in ngspice and ngnutmeg

This commit is contained in:
rlar 2011-07-02 20:19:21 +00:00
parent f70bf82865
commit 9887a2fb2b
1 changed files with 9 additions and 2 deletions

View File

@ -1115,6 +1115,9 @@ main(int argc, char **argv)
}
#ifdef SIMULATOR
/* Pass 2 -- get the filenames. If we are spice, then this means
* build a circuit for this file. If this is in server mode, don't
* process any of these args. */
@ -1125,8 +1128,6 @@ main(int argc, char **argv)
cp_interactive = FALSE;
err = 0;
#ifdef SIMULATOR
#ifdef FastRand
// initialization and seed for FastNorm Gaussian random generator
{
@ -1305,6 +1306,12 @@ evl:
#else /* ~ SIMULATOR */
if (SETJMP(jbuf, 1))
goto evl;
cp_interactive = FALSE;
err = 0;
if (ft_nutmeg && gdata) {
if (optind < argc)
while (optind < argc)