mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #1276 from h2so5/replace-isupper-msvc
Replace isupper with a macro in msvc
This commit is contained in:
+1
-1
@@ -4925,7 +4925,7 @@ parser_yylex(parser_state *p)
|
||||
pushback(p, c);
|
||||
}
|
||||
}
|
||||
if (result == 0 && isupper((int)tok(p)[0])) {
|
||||
if (result == 0 && isupper((int)(unsigned char)tok(p)[0])) {
|
||||
result = tCONSTANT;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user