allow spiceprefix in subcircuit format strings

This commit is contained in:
Stefan Frederik 2022-04-24 13:59:35 +02:00
parent d57f8e60ee
commit bcb1f57b27
1 changed files with 4 additions and 1 deletions

View File

@ -1638,7 +1638,10 @@ void print_spice_subckt(FILE *fd, int symbol)
{
token[token_pos]='\0';
token_pos=0;
if(!strcmp(token, "@name")) {
if(!strcmp(token, "@spiceprefix")) {
/* do nothing */
}
else if(!strcmp(token, "@name")) {
/* do nothing */
}
else if(strcmp(token, "@symname")==0) {