Browse Source

Improved error message, not using internal 'circbyline'

pre-master-46
Holger Vogt 12 months ago
parent
commit
a2dbedff4e
  1. 3
      src/frontend/inpcom.c

3
src/frontend/inpcom.c

@ -8988,6 +8988,9 @@ static void inp_check_syntax(struct card *deck)
if (check_subs != 0) { if (check_subs != 0) {
fprintf(cp_err, fprintf(cp_err,
"\nError: Mismatch of .subckt ... .ends statements!\n"); "\nError: Mismatch of .subckt ... .ends statements!\n");
if (eq("circbyline", bugcard->linesource))
fprintf(stderr, "in the netlist received from the calling program\n");
else
fprintf(stderr, " in file %s\n", bugcard->linesource); fprintf(stderr, " in file %s\n", bugcard->linesource);
fprintf(cp_err, " This will cause subsequent errors.\n\n"); fprintf(cp_err, " This will cause subsequent errors.\n\n");
if (ends > 0) if (ends > 0)

Loading…
Cancel
Save