Browse Source

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

pre-master-46
rlar 12 years ago
parent
commit
5aa4bd4a1c
  1. 2
      src/frontend/subckt.c

2
src/frontend/subckt.c

@ -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…
Cancel
Save