Commit 20ef86be authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1276 from h2so5/replace-isupper-msvc

Replace isupper with a macro in msvc
parents b9b24822 b5430460
...@@ -4925,7 +4925,7 @@ parser_yylex(parser_state *p) ...@@ -4925,7 +4925,7 @@ parser_yylex(parser_state *p)
pushback(p, c); pushback(p, c);
} }
} }
if (result == 0 && isupper((int)tok(p)[0])) { if (result == 0 && isupper((int)(unsigned char)tok(p)[0])) {
result = tCONSTANT; result = tCONSTANT;
} }
else { else {
......
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