From e17a264fc3f53bc4f083c6bb8b33dea4797892d3 Mon Sep 17 00:00:00 2001 From: jintonation Date: Tue, 19 Aug 2014 23:54:05 -0600 Subject: [PATCH] Changed cmtable_init to use isxdigit --- src/lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lexer.c b/src/lexer.c index 56be4590666b..7636bb08d742 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -58,7 +58,7 @@ static void cmtable_init() { if ('0' <= c && c <= '7') cmtable[c] |= CMoctal; - if (isdigit(c) || ('a' <= c && c <= 'f') || ('A' <= c && c <= 'F')) + if (isxdigit(c)) cmtable[c] |= CMhex; if (isalnum(c) || c == '_') cmtable[c] |= CMidchar;