Preliminary fix to bug 650
Don't omit replacement, when independent nested subcircuit has been checked. FIXME: Better use the cards level parameter.
This commit is contained in:
parent
4671b588b6
commit
37944bd7c4
|
|
@ -8165,6 +8165,9 @@ static void inp_meas_current(struct card *deck)
|
|||
else if (ciprefix(".ends", curr_line)) {
|
||||
subs--;
|
||||
subc_start = subc_prev;
|
||||
/* FIXME: just a hack, needs proper levelling */
|
||||
if (subs == 0)
|
||||
subc_start = NULL;
|
||||
}
|
||||
else
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue