aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index d66dbb09..ac9d3778 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -685,7 +685,7 @@ static inline uchar
read_nameStartChar(SerdReader* reader)
{
const uint8_t c = peek_byte(reader);
- if (c == '_' || is_alpha(c)) { // TODO: not strictly correct
+ if (c == '_' || is_alpha(c) || is_digit(c)) { // TODO: Not correct
return eat_byte_safe(reader, c);
}
return 0;