From 0568974b8571158c301e4305c5f904cf81f7b48b Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 25 Jul 2014 21:09:14 +0200 Subject: [PATCH] subckt.c, inp_subcktexpand(), cleanup `.meas' specific processing --- src/frontend/subckt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index f4b766c7a..b9f8d3acb 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -355,9 +355,8 @@ inp_subcktexpand(struct line *deck) { for (c = ll; c; c = c->li_next) /* 'param' .meas statements can have dependencies on measurement values */ /* need to skip evaluating here and evaluate after other .meas statements */ - if (ciprefix(".meas", c->li_line)) { - if (!strstr(c->li_line, "param")) - nupa_eval(c->li_line, c->li_linenum, c->li_linenum_orig); + if (ciprefix(".meas", c->li_line) && strstr(c->li_line, "param")) { + ; } else { nupa_eval(c->li_line, c->li_linenum, c->li_linenum_orig); }