subckt.c, inp_subcktexpand(), cleanup `.meas' specific processing

This commit is contained in:
rlar 2014-07-25 21:09:14 +02:00
parent 5aa4bd4a1c
commit 0568974b85
1 changed files with 2 additions and 3 deletions

View File

@ -355,9 +355,8 @@ inp_subcktexpand(struct line *deck) {
for (c = ll; c; c = c->li_next) for (c = ll; c; c = c->li_next)
/* 'param' .meas statements can have dependencies on measurement values */ /* 'param' .meas statements can have dependencies on measurement values */
/* need to skip evaluating here and evaluate after other .meas statements */ /* need to skip evaluating here and evaluate after other .meas statements */
if (ciprefix(".meas", c->li_line)) { if (ciprefix(".meas", c->li_line) && strstr(c->li_line, "param")) {
if (!strstr(c->li_line, "param")) ;
nupa_eval(c->li_line, c->li_linenum, c->li_linenum_orig);
} else { } else {
nupa_eval(c->li_line, c->li_linenum, c->li_linenum_orig); nupa_eval(c->li_line, c->li_linenum, c->li_linenum_orig);
} }