From 3c8f901a1f2bfd7b490c408126017c9a73a7e2c6 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 19 Jul 2019 15:52:18 +0200 Subject: [PATCH] Revert "Fix ngspice netlisting when net names contain '/'" This reverts commit 216573bf4827e8ca98635e1b95efa0c02c94b53f, because the issue with net names containing '/' is not actually inside the netlist. This commit 2165 creates issues with ngspice 2.8 and older, and do not fix anything in ngspice --- eeschema/netlist_exporters/netlist_exporter_pspice.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp index e4da61f128..fe7139dcf4 100644 --- a/eeschema/netlist_exporters/netlist_exporter_pspice.cpp +++ b/eeschema/netlist_exporters/netlist_exporter_pspice.cpp @@ -150,15 +150,6 @@ bool NETLIST_EXPORTER_PSPICE::Format( OUTPUTFORMATTER* aFormatter, unsigned aCtl // Replace parenthesis with underscore to prevent parse issues with simulators ReplaceForbiddenChars( netName ); - // Add quotes to nets containing slashes. This isn't added to ReplaceForbidenChars - // because this is only necessary for file writing; nets with slashes can be - // handled by ngspice after loading. - if( netName.Contains( "/" ) ) - { - netName.Prepend( '"' ); - netName.Append( '"' ); - } - // Borrow LTSpice's nomenclature for unconnected nets if( netName.IsEmpty() ) netName = wxString::Format( wxT( "NC_%.2u" ), NC_counter++ );