From 1857890a084309d448d96986e93db99a405af03c Mon Sep 17 00:00:00 2001 From: pnenzi Date: Thu, 14 Sep 2000 05:51:50 +0000 Subject: [PATCH] Corrected a bug introdiced when patching the file with Alan's code. Models in subcircuits are now handled correctly. --- src/frontend/subckt.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index 81c5da794..a4c7d6b7d 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -303,13 +303,6 @@ doit(struct line *deck) return (NULL); } - /* Now check to see if there are still subckt instances undefined... */ - for (c = deck; c; c = c->li_next) - if (ciprefix(invoke, c->li_line)) { - fprintf(cp_err, "Error: unknown subckt: %s\n", - c->li_line); - error = 1; - } if (error) return NULL; /* error message already reported; should free( ) */