aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/reader.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index a769fe55..93f6dd48 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -159,7 +159,6 @@ eat_byte(SerdReader parser, const uint8_t byte)
const uint8_t c = peek_byte(parser);
++parser->read_head;
switch (c) {
- case '\0': return error(parser, "unexpected end of file\n");
case '\n': ++parser->cur.line; parser->cur.col = 0; break;
default: ++parser->cur.col;
}