add utf-8 check, substitution, and warning to Input::parse() function

This commit is contained in:
Axel Kohlmeyer
2021-01-25 20:53:59 -05:00
parent 69e7480fed
commit a119164496
2 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class Input : protected Pointers {
int label_active; // 0 = no label, 1 = looking for label
char *labelstr; // label string being looked for
int jump_skip; // 1 if skipping next jump, 0 otherwise
bool utf8_warn; // true if need to warn about UTF-8 chars
FILE **infiles; // list of open input files