From 8dfaedf9ead8e16d118941889a599b25b9e43c70 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 29 Aug 2023 11:32:48 +0200 Subject: [PATCH] report in-hierarchy overlapped symbols when netlisting --- src/save.c | 2 +- src/spice_netlist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/save.c b/src/save.c index 6b9a1f11..e585a2b3 100644 --- a/src/save.c +++ b/src/save.c @@ -2561,7 +2561,7 @@ void load_schematic(int load_symbols, const char *fname, int reset_undo, int ale propagate_hilights(1, 1, XINSERT_NOREPLACE); } /* warning if two symbols perfectly overlapped */ - warning_overlapped_symbols(0); + /* warning_overlapped_symbols(0); */ /* do this when netlisting */ } void clear_undo(void) diff --git a/src/spice_netlist.c b/src/spice_netlist.c index 64cfc86f..e156b26b 100644 --- a/src/spice_netlist.c +++ b/src/spice_netlist.c @@ -580,7 +580,7 @@ int spice_block_netlist(FILE *fd, int i) spice_stop ? load_schematic(0,filename, 0, 1) : load_schematic(1,filename, 0, 1); get_additional_symbols(1); err |= spice_netlist(fd, spice_stop); /* 20111113 added spice_stop */ - + err |= warning_overlapped_symbols(0); if(xctx->schprop && xctx->schprop[0]) { fprintf(fd,"**** begin user architecture code\n"); fprintf(fd, "%s\n", xctx->schprop);