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 d241bd7 commit 11a5d9aCopy full SHA for 11a5d9a
include/boost/parser/detail/case_fold.hpp
@@ -47,7 +47,10 @@ namespace boost::parser::detail {
47
// One-byte fast path.
48
if (cp < 0x100) {
49
// ASCII letter fast path.
50
- if (0x41 <= cp && cp < 0x5a) {
+ if (0x61 <= cp && cp < 0x7a) {
51
+ *out++ = cp;
52
+ return out;
53
+ } else if (0x41 <= cp && cp < 0x5a) {
54
*out++ = cp + 0x20;
55
return out;
56
} else if (cp == 0x00DF) {
0 commit comments