Include ctype.h.
authorRichard Stallman <rms@gnu.org>
Sat, 26 Jun 1993 12:27:32 +0000 (12:27 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 26 Jun 1993 12:27:32 +0000 (12:27 +0000)
(isalnum, isdigit): Macros deleted.

From-SVN: r4744

gcc/c-lex.c

index d83b5dccb6237c0a7ee6266759a80f577301cbbd..f5f88721ffd190f3b7dc24d111871f07bd517e3e 100644 (file)
@@ -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 */
 \f
-#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,