aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/target.c')
-rw-r--r--gcc/f/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/f/target.c b/gcc/f/target.c
index b52e37f..7bda032 100644
--- a/gcc/f/target.c
+++ b/gcc/f/target.c
@@ -1451,7 +1451,7 @@ ffetarget_integerhex (ffetargetIntegerDefault *val, ffelexToken integer)
c = c - 'A' + 10;
else if ((c >= 'a') && (c <= 'f'))
c = c - 'a' + 10;
- else if ((c >= '0') && (c <= '9'))
+ else if (ISDIGIT (c))
c -= '0';
else
{