Improve error message on unimplemented dot command

This commit is contained in:
Holger Vogt 2023-09-11 12:02:59 +02:00
parent a6d5ce8ea6
commit 64c29e667e
1 changed files with 3 additions and 1 deletions

View File

@ -877,7 +877,9 @@ INP2dot(CKTcircuit *ckt, INPtables *tab, struct card *current, TSKtask *task, CK
rtn = 0;
goto quit;
}
LITERR(" unimplemented control card - error \n");
char *token2 = tprintf(" unimplemented dot command '%s'\n", token);
LITERR(token2);
tfree(token2);
quit:
tfree(token);
return rtn;