INPparseNumMod(), #5/14, use 'lastType' instead of the identical 'cardType'
This commit is contained in:
parent
11f3907139
commit
18d6679c02
|
|
@ -408,7 +408,8 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lastType = cardType;
|
lastType = cardType;
|
||||||
if (cardType >= 0) { /* parse the rest of this line */
|
// cardType is not used downwards from here
|
||||||
|
if (lastType >= 0) { /* parse the rest of this line */
|
||||||
while (*line) {
|
while (*line) {
|
||||||
/* Strip leading carat from booleans */
|
/* Strip leading carat from booleans */
|
||||||
if (*line == '^') {
|
if (*line == '^') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue