Skip to content

Commit

Permalink
report in-hierarchy overlapped symbols when netlisting
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanSchippers committed Aug 29, 2023
1 parent c94d6b6 commit 8dfaedf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/save.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/spice_netlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8dfaedf

Please sign in to comment.