fix make_sym.awk duplicating name= attribute in generated symbol

This commit is contained in:
Stefan Frederik 2020-12-29 15:41:15 +01:00
parent 7ba3001066
commit abce6ac29c
2 changed files with 5 additions and 0 deletions

View File

@ -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 {?}

View File

@ -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
}