Ignore:
Timestamp:
Dec 8, 2017, 6:16:53 PM (18 months ago)
Author:
cameron
Message:

Range RE objects

File:
1 edited

Legend:

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

    r5630 r5763  
    1414#include <re/re_alt.h>
    1515#include <re/re_rep.h>
     16#include <re/re_range.h>
    1617#include <re/re_diff.h>
    1718#include <re/re_intersect.h>
     
    3031    if (CC * cc = dyn_cast<CC>(re)) {
    3132        return makeCC(cc, makeCC());
     33    } else if (Range * rg = dyn_cast<Range>(re)) {
     34        return makeRange(rg->getLo(), rg->getHi());
    3235    } else if (Seq * seq = dyn_cast<Seq>(re)) {
    3336        std::vector<RE*> list;
Note: See TracChangeset for help on using the changeset viewer.