aboutsummaryrefslogtreecommitdiffstats
path: root/libparser-generate.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libparser-generate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libparser-generate.c b/libparser-generate.c
index 5b8ae25..4ad1621 100644
--- a/libparser-generate.c
+++ b/libparser-generate.c
@@ -108,7 +108,7 @@ strpcmp(const void *av, const void *bv)
static int
isidentifier(char c)
{
- return isalpha(c) || isdigit(c) || !isascii(c) || c == '_';
+ return isalnum(c) || !isascii(c) || c == '_';
}