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 */
|
/* We may have '~' in path names or A devices */
|
||||||
char *firsttok = nexttok(card->line); /* skip over whitespaces */
|
if (ciprefix(".inc", card->line) || ciprefix(".lib", card->line) ||
|
||||||
if (ciprefix(".inc", firsttok) || ciprefix(".lib", firsttok) ||
|
ciprefix("A", card->line))
|
||||||
ciprefix("A", firsttok))
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ((t = strstr(card->line, "~")) != NULL) {
|
if ((t = strstr(card->line, "~")) != NULL) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue