diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-05-06 12:56:58 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-05-06 12:56:58 +0000 |
commit | e9a780ecec4639ab0e2975a53c08e4dcfd7fafc2 (patch) | |
tree | 4be0ba56ed3d601b4b5711c8247791d8c7acf4b1 /gcc/gen-protos.c | |
parent | d4c3e60e96683c90bd06f62da8157f84c9a3225c (diff) | |
download | gcc-e9a780ecec4639ab0e2975a53c08e4dcfd7fafc2.zip gcc-e9a780ecec4639ab0e2975a53c08e4dcfd7fafc2.tar.gz gcc-e9a780ecec4639ab0e2975a53c08e4dcfd7fafc2.tar.bz2 |
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
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r-- | gcc/gen-protos.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |