|
|
@ -367,16 +367,15 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess |
|
|
continue; |
|
|
continue; |
|
|
case '+': |
|
|
case '+': |
|
|
/* continuation card */ |
|
|
/* continuation card */ |
|
|
if (lastType >= 0) { |
|
|
|
|
|
cardType = lastType; |
|
|
|
|
|
while (*line == '+') line++; /* Skip leading '+'s */ |
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
|
if (lastType < 0) { |
|
|
tmp = tprintf("Error on card %d : illegal continuation \'+\' - ignored", |
|
|
tmp = tprintf("Error on card %d : illegal continuation \'+\' - ignored", |
|
|
cardNum); |
|
|
cardNum); |
|
|
err = INPerrCat(err,tmp); |
|
|
err = INPerrCat(err,tmp); |
|
|
lastType = E_MISSING; |
|
|
lastType = E_MISSING; |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
cardType = lastType; |
|
|
|
|
|
while (*line == '+') line++; /* Skip leading '+'s */ |
|
|
/* FALL THRU when continuing a card */ |
|
|
/* FALL THRU when continuing a card */ |
|
|
default: |
|
|
default: |
|
|
lastType = cardType; |
|
|
lastType = cardType; |
|
|
|