mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Define isascii for C99
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user