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

This commit is contained in:
rlar 2016-07-10 18:24:49 +02:00
parent aa5afccf15
commit 0b1c79172c
1 changed files with 5 additions and 2 deletions

View File

@ -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 );