From 12b2287aa6cc8bf13ab3d866ff9efa59a6f2e24d Mon Sep 17 00:00:00 2001 From: dwarning Date: Wed, 19 Dec 2012 18:49:32 +0100 Subject: [PATCH] remove of modtab after the job is done to issue additional source commands --- src/frontend/inp.c | 2 ++ src/frontend/spiceif.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 */