diff --git a/src/spicelib/parser/inpgmod.c b/src/spicelib/parser/inpgmod.c index d503bb506..295417415 100644 --- a/src/spicelib/parser/inpgmod.c +++ b/src/spicelib/parser/inpgmod.c @@ -407,6 +407,7 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess } } } + lastType = cardType; if (cardType >= 0) { /* parse the rest of this line */ while (*line) { /* Strip leading carat from booleans */ @@ -450,7 +451,6 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess FREE(parm); } } - lastType = cardType; break; } }