do not error out if netlisting for xyce simulator with hspice/ngspice syntax option turned off

This commit is contained in:
Stefan Frederik 2022-04-18 08:58:36 +02:00
parent f001745095
commit eb6eeebe7f
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ BEGIN{
first=1 first=1
user_code=0 #20180129 user_code=0 #20180129
while( ARGV[1] ~ /^[-]/) { while( (ARGV[1] ~ /^[-]/) || (ARGV[1] ~ /^$/) ) {
if(ARGV[1] == "-hspice") hspice = 1 if(ARGV[1] == "-hspice") hspice = 1
if(ARGV[1] == "-xyce") { xyce = 1} if(ARGV[1] == "-xyce") { xyce = 1}
for(i=2; i<= ARGC;i++) { for(i=2; i<= ARGC;i++) {