diff options
-rw-r--r-- | src/n3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1670,7 +1670,7 @@ read_n3_statement(SerdReader* const reader) static void skip_until(SerdReader* const reader, const uint8_t byte) { - for (int c = 0; (c = peek_byte(reader)) && c != byte;) { + for (int c = 0; (c = peek_byte(reader)) && c != EOF && c != byte;) { eat_byte_safe(reader, c); } } |