re-enable making nutmeg

This commit is contained in:
Holger Vogt 2020-02-28 19:44:32 +01:00
parent 06239e567f
commit 10c312856e
1 changed files with 6 additions and 1 deletions

View File

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