Browse Source

Preliminary fix to bug 650

Don't omit replacement, when independent nested subcircuit has been checked.
FIXME: Better use the cards level parameter.
pre-master-46
Holger Vogt 2 years ago
parent
commit
37944bd7c4
  1. 3
      src/frontend/inpcom.c

3
src/frontend/inpcom.c

@ -8165,6 +8165,9 @@ static void inp_meas_current(struct card *deck)
else if (ciprefix(".ends", curr_line)) { else if (ciprefix(".ends", curr_line)) {
subs--; subs--;
subc_start = subc_prev; subc_start = subc_prev;
/* FIXME: just a hack, needs proper levelling */
if (subs == 0)
subc_start = NULL;
} }
else else
continue; continue;

Loading…
Cancel
Save