summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-06 12:56:58 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-06 12:56:58 +0000
commitcc404a47ac04231b68a1f1efb7b82621f2bdf54a (patch)
tree4be0ba56ed3d601b4b5711c8247791d8c7acf4b1 /gcc/gcc.c
parentbf02c19b0eac251543ecbdd501cc77a68abadd25 (diff)
downloadgcc-cc404a47ac04231b68a1f1efb7b82621f2bdf54a.tar.gz
* c-common.c: Convert to using ctype macros defined in system.h.
* c-lex.c: Likewise. * cccp.c: Likewise. * collect2.c: Likewise. * rs6000.c: Likewise. * cpplib.c: Likewise. * fix-header.c: Likewise. * gcc.c: Likewise. * gen-protos.c: Likewise. * pexecute.c: Likewise. * protoize.c: Likewise. * rtl.c: Likewise. * scan.c: Likewise. * stmt.c: Likewise. * tlink.c: Likewise. * toplev.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19579 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 312af6dd4f3..57f2f0fa982 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2768,21 +2768,21 @@ process_command (argc, argv)
char *v = compiler_version;
/* Ignore leading non-digits. i.e. "foo-" in "foo-2.7.2". */
- while (! isdigit (*v))
+ while (! ISDIGIT (*v))
v++;
if (v > compiler_version && v[-1] != '-')
fatal ("invalid version number format");
/* Set V after the first period. */
- while (isdigit (*v))
+ while (ISDIGIT (*v))
v++;
if (*v != '.')
fatal ("invalid version number format");
v++;
- while (isdigit (*v))
+ while (ISDIGIT (*v))
v++;
if (*v != 0 && *v != ' ' && *v != '.' && *v != '-')