subckt.c, bug fix, multiple .global decks shall behave "accumulative"
This commit is contained in:
parent
ed53864a9e
commit
5aa4bd4a1c
|
|
@ -244,11 +244,11 @@ inp_subcktexpand(struct line *deck) {
|
|||
for (i = 0; i < 128; i++)
|
||||
strcpy(node[i], ""); /* Clear global node holder */
|
||||
|
||||
numgnode = 0;
|
||||
for (c = deck; c; c = c->li_next)
|
||||
if (ciprefix(".global", c->li_line)) {
|
||||
s = c->li_line;
|
||||
txfree(gettok(&s));
|
||||
numgnode = 0;
|
||||
while (*s) {
|
||||
i = 0;
|
||||
t = s;
|
||||
|
|
|
|||
Loading…
Reference in New Issue