Define isascii for C99

This commit is contained in:
kano4
2013-04-06 21:47:38 +09:00
parent e885e59d45
commit 04fb7a0a3f
+4
View File
@@ -38,6 +38,10 @@ static void yywarn(parser_state *p, const char *s);
static void yywarning(parser_state *p, const char *s);
static void backref_error(parser_state *p, node *n);
#ifndef isascii
#define isascii(c) (((c) & ~0x7f) == 0)
#endif
#define identchar(c) (isalnum(c) || (c) == '_' || !isascii(c))
typedef unsigned int stack_type;