subckt.c, bug fix, multiple .global decks shall behave "accumulative"

This commit is contained in:
rlar 2014-07-23 20:30:00 +02:00
parent ed53864a9e
commit 5aa4bd4a1c
1 changed files with 1 additions and 1 deletions

View File

@ -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;