aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 45ca635..a15fcca 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -1183,7 +1183,7 @@ _cpp_lex_direct (pfile)
buffer->cur = pos - 1;
}
/* All known character sets have 0...9 contiguous. */
- else if (c >= '0' && c <= '9')
+ else if (ISDIGIT (c))
{
result->type = CPP_NUMBER;
parse_number (pfile, &result->val.str, c, 1);