Browse Source

remove of modtab after the job is done to issue additional source commands

pre-master-46
dwarning 13 years ago
parent
commit
12b2287aa6
  1. 2
      src/frontend/inp.c
  2. 2
      src/frontend/spiceif.c

2
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();

2
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 */

Loading…
Cancel
Save