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