Merge pull request #7812 from dhalbert/merge-8.0.x-to-main
Merge #7810 from 8.0.x to main
This commit is contained in:
commit
703b8b2272
@ -72,7 +72,7 @@ STATIC void close_file(file_arg *active_file) {
|
|||||||
// nothing
|
// nothing
|
||||||
}
|
}
|
||||||
STATIC bool is_eof(file_arg *active_file) {
|
STATIC bool is_eof(file_arg *active_file) {
|
||||||
return f_eof(active_file);
|
return f_eof(active_file) || f_error(active_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return 0 if there is no next character (EOF).
|
// Return 0 if there is no next character (EOF).
|
||||||
|
Loading…
Reference in New Issue
Block a user