Ignore:
Timestamp:
Dec 24, 2017, 12:05:36 PM (15 months ago)
Author:
cameron
Message:

Name::Type::Byte removed in favor of cc::Byte alphabet; other cleanups

File:
1 edited

Legend:

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

    r5777 r5805  
    3131RE * reverse_helper(RE * re, std::map<std::string, Name *> & captureMap) {
    3232    if (CC * cc = dyn_cast<CC>(re)) {
    33         return makeCC(cc, makeCC());
     33        return re;
    3434    } else if (Range * rg = dyn_cast<Range>(re)) {
    3535        return makeRange(rg->getLo(), rg->getHi());
     
    6262    } else if (Name * n = dyn_cast<Name>(re)) {
    6363        switch (n->getType()) {
    64             case Name::Type::Byte:
    6564            case Name::Type::Unicode:
    6665                return makeName(cast<CC>(n->getDefinition()));
Note: See TracChangeset for help on using the changeset viewer.