From 9dc52933f872550777f54a56bcee3907293e951d Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 7 Mar 2012 20:45:10 +0100 Subject: [PATCH] nest, drop else {} due to break --- src/frontend/subckt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index 27e53ed8d..cfde31ce4 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -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 */