aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-05-06 12:56:58 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-05-06 12:56:58 +0000
commite9a780ecec4639ab0e2975a53c08e4dcfd7fafc2 (patch)
tree4be0ba56ed3d601b4b5711c8247791d8c7acf4b1 /gcc/cpplib.c
parentd4c3e60e96683c90bd06f62da8157f84c9a3225c (diff)
downloadgcc-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/cpplib.c')
-rw-r--r--gcc/cpplib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 7fde93f..5eec64c 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -463,7 +463,7 @@ quote_string (pfile, src)
switch ((c = *src++))
{
default:
- if (isprint (c))
+ if (ISPRINT (c))
CPP_PUTC_Q (pfile, c);
else
{
@@ -2770,7 +2770,7 @@ macroexpand (pfile, hp)
/* Escape these chars */
if (c == '\"' || (in_string && c == '\\'))
CPP_PUTC (pfile, '\\');
- if (isprint (c))
+ if (ISPRINT (c))
CPP_PUTC (pfile, c);
else
{
@@ -3683,7 +3683,7 @@ do_line (pfile, keyword)
token = get_directive_token (pfile);
if (token != CPP_NUMBER
- || !isdigit(pfile->token_buffer[old_written]))
+ || !ISDIGIT(pfile->token_buffer[old_written]))
{
cpp_error (pfile, "invalid format `#line' command");
goto bad_line_directive;
@@ -4920,7 +4920,7 @@ cpp_get_token (pfile)
case '.':
NEWLINE_FIX;
c2 = PEEKC ();
- if (isdigit(c2))
+ if (ISDIGIT(c2))
{
CPP_RESERVE(pfile, 2);
CPP_PUTC_Q (pfile, '.');