nest, drop else {} due to break

This commit is contained in:
rlar 2012-03-07 20:45:10 +01:00
parent e41db66b6c
commit 9dc52933f8
1 changed files with 0 additions and 2 deletions

View File

@ -451,10 +451,8 @@ doit(struct line *deck) {
if (ciprefix(sbend, c->li_line)) { /* found a .ends */
if (!--nest)
break; /* nest = 0 means we have balanced .subckt and .ends */
else {
lcc = c; /* (lcc points to the position of the .ends) */
continue; /* then continue looping */
}
} else if (ciprefix(start, c->li_line)) /* if .subckt, increment nesting */
nest++;
lcc = c; /* lcc points to current pos of c */