summaryrefslogtreecommitdiffstats
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-06-26 12:27:32 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-06-26 12:27:32 +0000
commit59d57cf3811f5986d4d7130cfcc2574d91a5625d (patch)
tree26b33d1b82563b56b7cd348bff655af0dc5c3f27 /gcc/c-lex.c
parenta3f450ae0e04f64ae63b8a1b8b9162e2c4f9a669 (diff)
downloadppe42-gcc-59d57cf3811f5986d4d7130cfcc2574d91a5625d.tar.gz
ppe42-gcc-59d57cf3811f5986d4d7130cfcc2574d91a5625d.zip
Include ctype.h.
(isalnum, isdigit): Macros deleted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4744 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index d83b5dccb62..f5f88721ffd 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -31,6 +31,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "flags.h"
#include "c-parse.h"
+#include <ctype.h>
+
#ifdef MULTIBYTE_CHARS
#include <stdlib.h>
#include <locale.h>
@@ -883,8 +885,6 @@ handle_sysv_pragma (input, c)
#endif /* HANDLE_SYSV_PRAGMA */
-#define isalnum(char) ((char >= 'a' && char <= 'z') || (char >= 'A' && char <= 'Z') || (char >= '0' && char <= '9'))
-#define isdigit(char) (char >= '0' && char <= '9')
#define ENDFILE -1 /* token that represents end-of-file */
/* Read an escape sequence, returning its equivalent as a character,
OpenPOWER on IntegriCloud