do not error out if netlisting for xyce simulator with hspice/ngspice syntax option turned off
This commit is contained in:
parent
f001745095
commit
eb6eeebe7f
|
|
@ -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++) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue