Browse Source

Improve error message on unimplemented dot command

pre-master-46
Holger Vogt 3 years ago
parent
commit
64c29e667e
  1. 4
      src/spicelib/parser/inp2dot.c

4
src/spicelib/parser/inp2dot.c

@ -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;

Loading…
Cancel
Save