Add compatibility mode for netlist code.

(The non-A compatibility modes only run on included files.)

Fixes https://gitlab.com/kicad/code/kicad/issues/13589
This commit is contained in:
Jeff Young 2023-01-20 14:28:05 +00:00
parent 55bf6b6773
commit f7ebaf1bab
1 changed files with 3 additions and 3 deletions

View File

@ -392,15 +392,15 @@ std::vector<std::string> NGSPICE::GetSettingCommands() const
break;
case NGSPICE_MODEL_MODE::PSPICE:
commands.emplace_back( "set ngbehavior=ps" );
commands.emplace_back( "set ngbehavior=psa" );
break;
case NGSPICE_MODEL_MODE::LTSPICE:
commands.emplace_back( "set ngbehavior=lt" );
commands.emplace_back( "set ngbehavior=lta" );
break;
case NGSPICE_MODEL_MODE::LT_PSPICE:
commands.emplace_back( "set ngbehavior=ltps" );
commands.emplace_back( "set ngbehavior=ltpsa" );
break;
case NGSPICE_MODEL_MODE::HSPICE: