Corrected a bug introdiced when patching the file with Alan's code.
Models in subcircuits are now handled correctly.
This commit is contained in:
parent
ae8bcb42cf
commit
1857890a08
|
|
@ -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( ) */
|
||||
|
|
|
|||
Loading…
Reference in New Issue