Browse Source

INPparseNumMod(), #13/14, invert 'if' statement

pre-master-46
rlar 10 years ago
parent
commit
0b1c79172c
  1. 7
      src/spicelib/parser/inpgmod.c

7
src/spicelib/parser/inpgmod.c

@ -405,7 +405,11 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
}
}
}
if (info) { /* parse the rest of this line */
if (!info)
continue;
/* parse the rest of this line */
while (*line) {
/* Strip leading carat from booleans */
if (*line == '^') {
@ -447,7 +451,6 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
}
FREE(parm);
}
}
}
*errMessage = err;
return( 0 );

Loading…
Cancel
Save