.model treatment in fcn comment_out_unused_subckt_models() removed
This commit is contained in:
parent
e77f9451a4
commit
31a482fd84
|
|
@ -1764,6 +1764,7 @@ nlist_find(const struct nlist *nlist, const char *name)
|
|||
}
|
||||
|
||||
|
||||
#if 0
|
||||
static const char *
|
||||
nlist_model_find(const struct nlist *nlist, const char *name)
|
||||
{
|
||||
|
|
@ -1773,6 +1774,7 @@ nlist_model_find(const struct nlist *nlist, const char *name)
|
|||
return nlist->names[i];
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static void
|
||||
|
|
@ -1975,6 +1977,7 @@ comment_out_unused_subckt_models(struct line *start_card)
|
|||
|
||||
if (remove_subckt)
|
||||
*line = '*';
|
||||
#if 0
|
||||
else if (has_models &&
|
||||
(ciprefix(".model", line) || ciprefix(".cmodel", line)))
|
||||
{
|
||||
|
|
@ -1995,6 +1998,7 @@ comment_out_unused_subckt_models(struct line *start_card)
|
|||
tfree(model_type);
|
||||
tfree(model_name);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
nlist_destroy(used_subckts);
|
||||
|
|
|
|||
Loading…
Reference in New Issue