diff --git a/src/frontend/inp.c b/src/frontend/inp.c index 34076e7f9..1ace43378 100644 --- a/src/frontend/inp.c +++ b/src/frontend/inp.c @@ -676,6 +676,8 @@ inp_spsource(FILE *fp, bool comfile, char *filename) wl_free(controls); } + INPkillMods(); /* remove the modtab after the job is done */ + /* Now reset everything. Pop the control stack, and fix up the IO * as it was before the source. */ cp_popcontrol(); diff --git a/src/frontend/spiceif.c b/src/frontend/spiceif.c index ea9ce59e5..34db0ebca 100644 --- a/src/frontend/spiceif.c +++ b/src/frontend/spiceif.c @@ -162,7 +162,7 @@ if_inpdeck(struct line *deck, INPtables **tab) INPpas1(ckt, (card *) deck->li_next, *tab); INPpas2(ckt, (card *) deck->li_next, *tab, ft_curckt->ci_defTask); - /* INPkillMods(); FIXME: modtab should removed later - + /* INPkillMods(); modtab removed later on the end of inp_spsource because needed for alter geometry of binned MOS models, see below if_setparam_model */