doit, tiny rewrite

This commit is contained in:
rlar 2012-03-07 18:02:31 +01:00
parent c866517dfb
commit 1be324ca38
1 changed files with 5 additions and 2 deletions

View File

@ -419,9 +419,12 @@ doit(struct line *deck) {
#endif
{
struct line *last, *lc;
/* First pass: xtract all the .subckts and stick pointers to them into sss. */
for (last = deck, lc = NULL; last; ) {
struct line *last = deck;
struct line *lc = NULL;
while (last) {
struct line *c, *lcc;