From 31a482fd843a23db811cbf1821c3a5155ac0c0b7 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 7 May 2016 18:35:59 +0200 Subject: [PATCH] .model treatment in fcn comment_out_unused_subckt_models() removed --- src/frontend/inpcom.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 094f0fe0a..ae4ba4cea 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -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);