Improved error message, not using internal 'circbyline'
This commit is contained in:
parent
13bbe47020
commit
3bf94321e6
|
|
@ -8988,7 +8988,10 @@ 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");
|
||||||
fprintf(stderr, " in file %s\n", bugcard->linesource);
|
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(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)
|
||||||
fprintf(cp_err, "Check .ends in line number %d\n", ends);
|
fprintf(cp_err, "Check .ends in line number %d\n", ends);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue