Ignore:
Timestamp:
Dec 24, 2017, 7:31:39 AM (17 months ago)
Author:
cameron
Message:

Regular expression toolchain progress

File:
1 edited

Legend:

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

    r5802 r5803  
    6464            a->setAsserted(resolveUnicodeProperties(a->getAsserted()));
    6565        } else if (Range * rg = dyn_cast<Range>(re)) {
    66             rg->setLo(resolveUnicodeProperties(rg->getLo()));
    67             rg->setHi(resolveUnicodeProperties(rg->getHi()));
     66            return makeRange(resolveUnicodeProperties(rg->getLo()),
     67                             resolveUnicodeProperties(rg->getHi()));
    6868        } else if (Diff * diff = dyn_cast<Diff>(re)) {
    6969            diff->setLH(resolveUnicodeProperties(diff->getLH()));
     
    131131            a->setAsserted(resolve(a->getAsserted()));
    132132        } else if (Range * rg = dyn_cast<Range>(re)) {
    133             rg->setLo(resolve(rg->getLo()));
    134             rg->setHi(resolve(rg->getHi()));
     133            return makeRange(resolve(rg->getLo()), resolve(rg->getHi()));
    135134        } else if (Diff * diff = dyn_cast<Diff>(re)) {
    136135            diff->setLH(resolve(diff->getLH()));
Note: See TracChangeset for help on using the changeset viewer.