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_next = lcc;
c->li_line[0] = '*'; /* comment it out */ c->li_line[0] = '*'; /* comment it out */
} }
while (lcc->li_next) c = lcc;
lcc = lcc->li_next; while (c->li_next)
lcc->li_next = savenext; c = c->li_next;
c->li_next = savenext;
} }
tfree(tofree); tfree(tofree);
tfree(tofree2); tfree(tofree2);
prev_of_c = lcc; prev_of_c = c;
c = lcc->li_next; c = c->li_next;
} /* if (ciprefix(invoke, c->li_line)) . . . */ } /* if (ciprefix(invoke, c->li_line)) . . . */
else { else {
prev_of_c = c; prev_of_c = c;