diff options
-rw-r--r-- | libparser-generate.c | 2 |
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 == '_'; } |