Corrected a bug introdiced when patching the file with Alan's code.

Models in subcircuits are now handled correctly.
This commit is contained in:
pnenzi 2000-09-14 05:51:50 +00:00
parent ae8bcb42cf
commit 1857890a08
1 changed files with 0 additions and 7 deletions

View File

@ -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( ) */