subs, no need to save and restore subs here, EXACT
This commit is contained in:
parent
3725ae2575
commit
aa192231f8
|
|
@ -533,13 +533,9 @@ doit(struct line *deck) {
|
||||||
return (deck);
|
return (deck);
|
||||||
|
|
||||||
/* Otherwise, expand sub-subcircuits recursively. */
|
/* Otherwise, expand sub-subcircuits recursively. */
|
||||||
{
|
for (sss = subs; sss; sss = sss->su_next) /* iterate through the list of subcircuits */
|
||||||
struct subs *ks;
|
|
||||||
for (ks = sss = subs; sss; sss = sss->su_next) /* iterate through the list of subcircuits */
|
|
||||||
if ((sss->su_def = doit(sss->su_def)) == NULL)
|
if ((sss->su_def = doit(sss->su_def)) == NULL)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
subs = ks; /* ks has held pointer to start of subcircuits list. */
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
/* SDB debug statement */
|
/* SDB debug statement */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue