mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Try again without confusing Tcl and python syntax. . .
This commit is contained in:
+3
-3
@@ -15,9 +15,9 @@ global Opts
|
||||
|
||||
proc readspice {netfile} {
|
||||
if {[file ext $netfile] == ".cdl"} {
|
||||
is_cdl = true
|
||||
set is_cdl true
|
||||
} else {
|
||||
is_cdl = false
|
||||
set is_cdl false
|
||||
}
|
||||
|
||||
if [catch {open $netfile r} fnet] {
|
||||
@@ -40,7 +40,7 @@ proc readspice {netfile} {
|
||||
puts stderr "Error: Can't read netlist file $netfile"
|
||||
return 1;
|
||||
} else {
|
||||
is_cdl = true
|
||||
set is_cdl true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user