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/c-common.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/c-common.c')
-rw-r--r-- | gcc/c-common.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index eacbdf5..d16bbc3 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1356,7 +1356,7 @@ check_format_info (info, params) suppressed = *format_chars == '*'; if (suppressed) ++format_chars; - while (isdigit (*format_chars)) + while (ISDIGIT (*format_chars)) ++format_chars; } else if (info->format_type == strftime_format_type) @@ -1379,7 +1379,7 @@ check_format_info (info, params) flag_chars[i] = 0; } } - while (isdigit ((unsigned char) *format_chars)) + while (ISDIGIT ((unsigned char) *format_chars)) { wide = TRUE; ++format_chars; @@ -1480,7 +1480,7 @@ check_format_info (info, params) } else { - while (isdigit (*format_chars)) + while (ISDIGIT (*format_chars)) { wide = TRUE; ++format_chars; @@ -1490,7 +1490,7 @@ check_format_info (info, params) { precise = TRUE; ++format_chars; - if (*format_chars != '*' && !isdigit (*format_chars)) + if (*format_chars != '*' && !ISDIGIT (*format_chars)) warning ("`.' not followed by `*' or digit in format"); /* "...a...precision...may be indicated by an asterisk. In this case, an int argument supplies the...precision." */ @@ -1515,7 +1515,7 @@ check_format_info (info, params) } else { - while (isdigit (*format_chars)) + while (ISDIGIT (*format_chars)) ++format_chars; } } |