Improve error message
This commit is contained in:
parent
7de5fd276e
commit
a03369fc12
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue