Fix XSPICE's node prefix '~' when PSPICE compatability is used.
This commit is contained in:
parent
cb1adc4a4e
commit
eb353ee2f7
|
|
@ -8828,9 +8828,8 @@ static struct card *pspice_compat(struct card *oldcard)
|
|||
}
|
||||
}
|
||||
/* We may have '~' in path names or A devices */
|
||||
char *firsttok = nexttok(card->line); /* skip over whitespaces */
|
||||
if (ciprefix(".inc", firsttok) || ciprefix(".lib", firsttok) ||
|
||||
ciprefix("A", firsttok))
|
||||
if (ciprefix(".inc", card->line) || ciprefix(".lib", card->line) ||
|
||||
ciprefix("A", card->line))
|
||||
continue;
|
||||
|
||||
if ((t = strstr(card->line, "~")) != NULL) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue