Commit cb1a978f authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1190 from lateau/master

tiny fix on parser.y: change isxdigit to ISXDIGIT
parents 92697034 c5712bcb
...@@ -3482,7 +3482,7 @@ read_escape(parser_state *p) ...@@ -3482,7 +3482,7 @@ read_escape(parser_state *p)
for (i=0; i<2; i++) { for (i=0; i<2; i++) {
buf[i] = nextc(p); buf[i] = nextc(p);
if (buf[i] == -1) goto eof; if (buf[i] == -1) goto eof;
if (!isxdigit(buf[i])) { if (!ISXDIGIT(buf[i])) {
pushback(p, buf[i]); pushback(p, buf[i]);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment