fix make_sym.awk duplicating name= attribute in generated symbol
This commit is contained in:
parent
7ba3001066
commit
abce6ac29c
|
|
@ -121,6 +121,7 @@ proc ngspice::get_current {n} {
|
|||
set n @$n
|
||||
}
|
||||
set n i($n)
|
||||
puts "ngspice::get_current --> $n"
|
||||
set err [catch {set ::ngspice::ngspice_data($n)} res]
|
||||
if { $err } {
|
||||
set res {?}
|
||||
|
|
|
|||
|
|
@ -269,3 +269,7 @@ tclcommand="ngspice::annotate"}
|
|||
C {launcher.sym} 1000 -320 0 0 {name=h4
|
||||
descr="View raw file"
|
||||
tclcommand="textwindow $netlist_dir/poweramp.raw"}
|
||||
C {ngspice_get_expr.sym} 220 -1040 0 0 {name=r19
|
||||
node="[ngspice::get_current \{r9[i]\}]"
|
||||
descr = current
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue