Improve error message

This commit is contained in:
Holger Vogt 2023-06-03 15:48:06 +02:00
parent 7de5fd276e
commit a03369fc12
1 changed files with 1 additions and 1 deletions

View File

@ -9016,7 +9016,7 @@ utf8_syntax_check(struct card *deck)
s = utf8_check((unsigned char*)curr_line);
if (s) {
fprintf(stderr, "Error: UTF-8 syntax error in line %d at %s\n", card->linenum_orig, s);
fprintf(stderr, "Error: UTF-8 syntax error in input deck,\n line %d at token/word %s\n", card->linenum_orig, s);
controlled_exit(1);
}
}