From e9a780ecec4639ab0e2975a53c08e4dcfd7fafc2 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 6 May 1998 12:56:58 +0000 Subject: c-common.c: Convert to using ctype macros defined in system.h. * 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. From-SVN: r19579 --- gcc/gen-protos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/gen-protos.c') diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c index 2bec04c..f423b3f 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; -- cgit v1.1