Browse Source

subckt.c, cleanup `doit()'

pre-master-46
rlar 12 years ago
parent
commit
d6106cfbfc
  1. 6
      src/frontend/subckt.c

6
src/frontend/subckt.c

@ -491,13 +491,13 @@ doit(struct line *deck, wordlist *modnames) {
/* cut the whole .subckt ... .ends sequence from the deck chain */
line_free_x(c, FALSE);
line_free_x(c, FALSE); /* drop the .subckt card */
c = ends->li_next;
if (prev_of_c)
prev_of_c->li_next = ends->li_next;
prev_of_c->li_next = c;
else
deck = ends->li_next;
deck = c;
if (use_numparams == FALSE) {
line_free_x(ends, FALSE); /* drop the .ends card */

Loading…
Cancel
Save