We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f28835 commit 90b8aaaCopy full SHA for 90b8aaa
src/CaseChangingCharStream.cpp
@@ -46,7 +46,15 @@ size_t CaseChangingCharStream::LA(ssize_t i)
46
{
47
return c;
48
}
49
+#ifdef _WIN64
50
+ if (upper)
51
+ {
52
+ return size_t(toupper(int(c)));
53
+ }
54
55
+ return size_t(tolower(int(c)));
56
+#endif
57
+#ifndef _WIN64
58
char o = char(c);
59
60
if (upper)
@@ -55,6 +63,7 @@ size_t CaseChangingCharStream::LA(ssize_t i)
63
64
65
return size_t(tolower(o));
66
67
68
69
ssize_t CaseChangingCharStream::mark()
0 commit comments