.model treatment in fcn comment_out_unused_subckt_models() removed
This commit is contained in:
parent
b173113a11
commit
ddbd312c1d
|
|
@ -1749,6 +1749,7 @@ nlist_find(const struct nlist *nlist, const char *name)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
static const char *
|
static const char *
|
||||||
nlist_model_find(const struct nlist *nlist, const char *name)
|
nlist_model_find(const struct nlist *nlist, const char *name)
|
||||||
{
|
{
|
||||||
|
|
@ -1758,6 +1759,7 @@ nlist_model_find(const struct nlist *nlist, const char *name)
|
||||||
return nlist->names[i];
|
return nlist->names[i];
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
@ -1960,6 +1962,7 @@ comment_out_unused_subckt_models(struct line *start_card)
|
||||||
|
|
||||||
if (remove_subckt)
|
if (remove_subckt)
|
||||||
*line = '*';
|
*line = '*';
|
||||||
|
#if 0
|
||||||
else if (has_models &&
|
else if (has_models &&
|
||||||
(ciprefix(".model", line) || ciprefix(".cmodel", line)))
|
(ciprefix(".model", line) || ciprefix(".cmodel", line)))
|
||||||
{
|
{
|
||||||
|
|
@ -1980,6 +1983,7 @@ comment_out_unused_subckt_models(struct line *start_card)
|
||||||
tfree(model_type);
|
tfree(model_type);
|
||||||
tfree(model_name);
|
tfree(model_name);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
nlist_destroy(used_subckts);
|
nlist_destroy(used_subckts);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue