From cc404a47ac04231b68a1f1efb7b82621f2bdf54a Mon Sep 17 00:00:00 2001 From: ghazi Date: Wed, 6 May 1998 12:56:58 +0000 Subject: * 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 --- gcc/c-common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/c-common.c') diff --git a/gcc/c-common.c b/gcc/c-common.c index eacbdf503d8..d16bbc35acd 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; } } -- cgit v1.2.1