Browse Source

inp2m.c, #14/15b, cleanup, drop empty blocks

pre-master-46
rlar 9 years ago
parent
commit
85236c08e6
  1. 7
      src/spicelib/parser/inp2m.c

7
src/spicelib/parser/inp2m.c

@ -157,17 +157,12 @@ INP2M(CKTcircuit *ckt, INPtables *tab, card *current)
if (!thismodel && nodeflag < 5)
INPgetModBin(ckt, nname[nodeflag], &thismodel, tab, line);
if (thismodel) {
}
else {
if (!thismodel) {
nodeflag = 4; /* now reset to a 4 node device */
line = save; /* reset the posn to what it sould be */
}
} else {
}
} else {
}
} else {
}
if (!valid_numnodes(nodeflag, thismodel, current))

Loading…
Cancel
Save