Make error message more verbode

This commit is contained in:
Holger Vogt 2021-06-22 11:59:27 +02:00
parent a4be66b9b0
commit 76eac5aa0f
1 changed files with 2 additions and 1 deletions

View File

@ -9050,7 +9050,8 @@ static void inp_check_syntax(struct card *deck)
else {
if (!check_ch) {
fprintf(stderr, "Warning: Unusual leading characters like '%c' or others out of '= [] ? () & %% $\"!:,;\\f'\n", *cut_line);
fprintf(stderr, " in netlist or included files, will be replaced with '*'\n");
fprintf(stderr, " in netlist or included files, will be replaced with '*'.\n");
fprintf(stderr, " Check line no %d: %s\n\n", card->linenum_orig, cut_line);
check_ch = 1; /* just one warning */
}
*cut_line = '*';