mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use ISXDIGIT instead isxdigit on parser.y:3485
This commit is contained in:
+1
-1
@@ -3482,7 +3482,7 @@ read_escape(parser_state *p)
|
||||
for (i=0; i<2; i++) {
|
||||
buf[i] = nextc(p);
|
||||
if (buf[i] == -1) goto eof;
|
||||
if (!isxdigit(buf[i])) {
|
||||
if (!ISXDIGIT(buf[i])) {
|
||||
pushback(p, buf[i]);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user