diff options
-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 3e859765..e49c2a10 100644 --- a/src/reader.c +++ b/src/reader.c @@ -761,7 +761,7 @@ read_LANGTAG(SerdReader* reader) } Ref ref = push_node(reader, SERD_LITERAL, "", 0); push_byte(reader, ref, eat_byte_safe(reader, c)); - while ((c = peek_byte(reader)) && in_range(c, 'a', 'z')) { + while ((c = peek_byte(reader)) && is_alpha(c)) { push_byte(reader, ref, eat_byte_safe(reader, c)); } while (peek_byte(reader) == '-') { |