Browse Source

re-enable making nutmeg

pre-master-46
Holger Vogt 6 years ago
parent
commit
10c312856e
  1. 7
      src/frontend/runcoms2.c

7
src/frontend/runcoms2.c

@ -26,7 +26,10 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
#include "numparam/numpaif.h" #include "numparam/numpaif.h"
#include "ngspice/inpdefs.h" #include "ngspice/inpdefs.h"
#if defined(XSPICE) && defined(SIMULATOR)
#include "ngspice/evtproto.h" #include "ngspice/evtproto.h"
#endif
extern void line_free_x(struct card *deck, bool recurse); extern void line_free_x(struct card *deck, bool recurse);
extern INPmodel *modtab; extern INPmodel *modtab;
@ -238,8 +241,10 @@ com_remcirc(wordlist *wl)
/* The next lines stem from com_rset */ /* The next lines stem from com_rset */
INPkillMods(); INPkillMods();
/* remove event queues */
#if defined(XSPICE) && defined(SIMULATOR)
/* remove event queues, if XSPICE and not nutmeg */
EVTunsetup(ft_curckt->ci_ckt); EVTunsetup(ft_curckt->ci_ckt);
#endif
if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab); if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab);
for (v = ft_curckt->ci_vars; v; v = next) { for (v = ft_curckt->ci_vars; v; v = next) {

Loading…
Cancel
Save