From 7334e64cd4ec6d9052fb8e57a1f4a67bac50cb23 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 506610271..3ce1d920c 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1735,6 +1735,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) { @@ -1744,6 +1745,7 @@ nlist_model_find(const struct nlist *nlist, const char *name) return nlist->names[i]; return NULL; } +#endif static void @@ -1946,6 +1948,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))) { @@ -1966,6 +1969,7 @@ comment_out_unused_subckt_models(struct line *start_card) tfree(model_type); tfree(model_name); } +#endif } nlist_destroy(used_subckts);