Ignore:
Timestamp:
Dec 21, 2017, 9:42:16 PM (15 months ago)
Author:
cameron
Message:

Use Alphabet=Byte in to_utf8, u8u32, UCD compiler

File:
1 edited

Legend:

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

    r5782 r5798  
    2929    const codepoint_t lunit = UTF<8>::nthCodeUnit(lo, index);
    3030    if (index == lgth) {
    31         return makeCC(lunit, hunit);
     31        return makeByte(lunit, hunit);
    3232    }
    3333    else if (hunit == lunit) {
    34         return makeSeq({makeCC(hunit), rangeCodeUnits(lo, hi, index + 1, lgth)});
     34        return makeSeq({makeByte(hunit), rangeCodeUnits(lo, hi, index + 1, lgth)});
    3535    }
    3636    else {
     
    4545        }
    4646        else {
    47             return makeSeq({makeCC(lunit, hunit), rangeCodeUnits(lo, hi, index + 1, lgth)});
     47            return makeSeq({makeByte(lunit, hunit), rangeCodeUnits(lo, hi, index + 1, lgth)});
    4848        }
    4949    }
Note: See TracChangeset for help on using the changeset viewer.