`xschem netlist`: do not clear keep_symbols if no -keep_symbol option is given

This commit is contained in:
stefan schippers 2025-04-04 10:12:12 +02:00
parent 4a1b1483b9
commit ff1c506b5d
1 changed files with 1 additions and 1 deletions

View File

@ -3460,7 +3460,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
done_netlist = 1;
save_keep = tclgetboolvar("keep_symbols");
tclsetboolvar("keep_symbols", keep_symbols);
if(keep_symbols) tclsetboolvar("keep_symbols", keep_symbols);
if(xctx->netlist_type == CAD_SPICE_NETLIST)
err = global_spice_netlist(hier_netlist, alert);
else if(xctx->netlist_type == CAD_VHDL_NETLIST)