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