Ignore:
Timestamp:
Dec 24, 2017, 6:03:30 AM (14 months ago)
Author:
cameron
Message:

Allow RE compiler to handle any Unicode CCs not previously translated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/to_utf8.cpp

    r5798 r5802  
    5454    const auto max_lgth = UTF<8>::encoded_length(hi);
    5555    if (min_lgth < max_lgth) {
    56         const auto m = UTF<8>::max_codepoint_of_length(lo);
     56        const auto m = UTF<8>::max_codepoint_of_length(min_lgth);
    5757        return makeAlt({rangeToUTF8(lo, m), rangeToUTF8(m + 1, hi)});
    5858    }
Note: See TracChangeset for help on using the changeset viewer.