summaryrefslogtreecommitdiff
path: root/gcc/gen-protos.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/gen-protos.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/gen-protos.c')
-rw-r--r--gcc/gen-protos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c
index 2bec04c4db8..f423b3ff86e 100644
--- a/gcc/gen-protos.c
+++ b/gcc/gen-protos.c
@@ -109,7 +109,7 @@ parse_fn_proto (start, end, fn)
ptr--;
while (*ptr == ' ' || *ptr == '\t') ptr--;
- if (!isalnum (*ptr))
+ if (!ISALNUM (*ptr))
{
if (verbose)
fprintf (stderr, "%s: Can't handle this complex prototype: %s\n",
@@ -118,7 +118,7 @@ parse_fn_proto (start, end, fn)
}
name_end = ptr+1;
- while (isalnum (*ptr) || *ptr == '_') --ptr;
+ while (ISALNUM (*ptr) || *ptr == '_') --ptr;
name_start = ptr+1;
while (*ptr == ' ' || *ptr == '\t') ptr--;
ptr[1] = 0;