diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c index 070dc7a7..f3b2d99d 100644 --- a/src/reader.c +++ b/src/reader.c @@ -735,7 +735,7 @@ read_language(SerdReader parser) return 0; } Ref str = push_string(parser, "", 1); - push_byte(parser, str, start); + push_byte(parser, str, eat_byte(parser, start)); uint8_t c; while ((c = peek_byte(parser)) && in_range(c, 'a', 'z')) { push_byte(parser, str, eat_byte(parser, c)); |