aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/bad.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/bad.c')
-rw-r--r--gcc/f/bad.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/f/bad.c b/gcc/f/bad.c
index ec250eb..a2a4832 100644
--- a/gcc/f/bad.c
+++ b/gcc/f/bad.c
@@ -37,10 +37,10 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* Include files. */
#include "proj.h"
-#include <ctype.h>
#include "bad.h"
#include "flags.j"
#include "com.h"
+#include "toplev.j"
#include "where.h"
/* Externals defined here. */
@@ -457,7 +457,7 @@ ffebad_finish ()
if (ffebad_places_ == 0)
{
/* Didn't output "warning:" string, capitalize it for message. */
- if ((s[0] != '\0') && isalpha (s[0]) && islower (s[0]))
+ if ((s[0] != '\0') && ISALPHA (s[0]) && ISLOWER (s[0]))
{
char c;
@@ -486,7 +486,7 @@ ffebad_finish ()
if (c == '%')
{
c = ffebad_message_[++i];
- if (isalpha (c) && isupper (c))
+ if (ISALPHA (c) && ISUPPER (c))
{
index = c - 'A';
@@ -504,7 +504,7 @@ ffebad_finish ()
bufi = ffebad_bufputs_ (buf, bufi, s);
}
}
- else if (isdigit (c))
+ else if (ISDIGIT (c))
{
index = c - '0';