Revert "Fix ngspice netlisting when net names contain '/'"
This reverts commit eadf6d93bc
.
because the issue with net names containing '/' is not actually inside the netlist.
This commit eadf creates issues with ngspice 2.8 and older, and do not fix anything in ngspice
This commit is contained in:
parent
e32a50b34d
commit
b3b32fa966
|
@ -154,15 +154,6 @@ bool NETLIST_EXPORTER_PSPICE::Format( OUTPUTFORMATTER* aFormatter, unsigned aCtl
|
|||
// unescape net names that contain a escaped sequence ("{slash}"):
|
||||
netName = UnescapeString( 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++ );
|
||||
|
|
Loading…
Reference in New Issue