Ignore:
Timestamp:
Dec 20, 2017, 8:00:59 AM (15 months ago)
Author:
cameron
Message:

\N{...} expressions now anchored; name expresions in ranges functional

File:
1 edited

Legend:

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

    r5788 r5792  
    1717RE * makeRange(RE * lo, RE * hi) {
    1818    if (isa<CC>(lo) && isa<CC>(hi)) {
    19         if (!(dyn_cast<CC>(lo)->count() == 1) && (dyn_cast<CC>(hi)->count() == 1))
    20             llvm::report_fatal_error("illegal range operand");
     19        if (!((dyn_cast<CC>(lo)->count() == 1) && (dyn_cast<CC>(hi)->count() == 1)))
     20            llvm::report_fatal_error("invalid range operand");
    2121        auto lo_val = dyn_cast<CC>(lo)->front().first;
    2222        auto hi_val = dyn_cast<CC>(hi)->front().first;
Note: See TracChangeset for help on using the changeset viewer.