skip comment lines
This commit is contained in:
parent
ac0a70bb84
commit
f9eb75f55d
|
|
@ -243,8 +243,11 @@ inp_subcktexpand(struct card *deck) {
|
||||||
if (ciprefix(".subckt", c->line))
|
if (ciprefix(".subckt", c->line))
|
||||||
nupa_scan(c);
|
nupa_scan(c);
|
||||||
/* now copy instances */
|
/* now copy instances */
|
||||||
for (c = deck; c; c = c->nextcard) /* first Numparam pass */
|
for (c = deck; c; c = c->nextcard) { /* first Numparam pass */
|
||||||
|
if (*(c->line) == '*')
|
||||||
|
continue;
|
||||||
c->line = nupa_copy(c);
|
c->line = nupa_copy(c);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
fprintf(stderr, "Numparams transformed deck:\n");
|
fprintf(stderr, "Numparams transformed deck:\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue