subckt.c, doit(), cleanup, use `c' instead of `lcc'

This commit is contained in:
rlar 2014-07-18 18:00:01 +02:00
parent 45648d4caa
commit 822c5150d5
1 changed files with 6 additions and 5 deletions

View File

@ -630,14 +630,15 @@ doit(struct line *deck, wordlist *modnames) {
c->li_next = lcc;
c->li_line[0] = '*'; /* comment it out */
}
while (lcc->li_next)
lcc = lcc->li_next;
lcc->li_next = savenext;
c = lcc;
while (c->li_next)
c = c->li_next;
c->li_next = savenext;
}
tfree(tofree);
tfree(tofree2);
prev_of_c = lcc;
c = lcc->li_next;
prev_of_c = c;
c = c->li_next;
} /* if (ciprefix(invoke, c->li_line)) . . . */
else {
prev_of_c = c;