Reload sourceinfo when changing the current circuit.
This commit is contained in:
parent
55f7d3fcef
commit
db6427edf8
|
|
@ -37,6 +37,7 @@ extern struct INPmodel *modtab;
|
||||||
extern NGHASHPTR modtabhash;
|
extern NGHASHPTR modtabhash;
|
||||||
extern struct dbcomm *dbs;
|
extern struct dbcomm *dbs;
|
||||||
extern void NIresetwarnmsg(void);
|
extern void NIresetwarnmsg(void);
|
||||||
|
extern wordlist* sourceinfo;
|
||||||
|
|
||||||
/* Routines for the commands op, tran, ac, dc, listing, device, state,
|
/* Routines for the commands op, tran, ac, dc, listing, device, state,
|
||||||
* resume, stop, trace, run, end. Op, tran, ac, and dc cause the action
|
* resume, stop, trace, run, end. Op, tran, ac, and dc cause the action
|
||||||
|
|
@ -109,6 +110,8 @@ com_scirc(wordlist *wl)
|
||||||
ft_curckt = p;
|
ft_curckt = p;
|
||||||
/* get the model table for the current circuit, store it in the global variable modtab */
|
/* get the model table for the current circuit, store it in the global variable modtab */
|
||||||
modtab = ft_curckt->ci_modtab;
|
modtab = ft_curckt->ci_modtab;
|
||||||
|
/* get the current input file names */
|
||||||
|
sourceinfo = ft_curckt->ci_sourceinfo;
|
||||||
modtabhash = ft_curckt->ci_modtabhash;
|
modtabhash = ft_curckt->ci_modtabhash;
|
||||||
/* get the database for save, iplot, stop */
|
/* get the database for save, iplot, stop */
|
||||||
dbs = ft_curckt->ci_dbs;
|
dbs = ft_curckt->ci_dbs;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue