Ignore:
Timestamp:
Dec 12, 2017, 8:28:35 AM (14 months ago)
Author:
cameron
Message:

Bug fix for re_compiler when CCs directly supplied

File:
1 edited

Legend:

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

    r5763 r5777  
    1414#include <re/re_alt.h>
    1515#include <re/re_rep.h>
     16#include <re/re_group.h>
    1617#include <re/re_range.h>
    1718#include <re/re_diff.h>
     
    4748    } else if (Rep * rep = dyn_cast<Rep>(re)) {
    4849        return makeRep(reverse_helper(rep->getRE(), captureMap), rep->getLB(), rep->getUB());
     50    } else if (Group * g = dyn_cast<Group>(re)) {
     51        return makeGroup(g->getMode(), reverse_helper(g->getRE(), captureMap), g->getSense());
    4952    } else if (Diff * diff = dyn_cast<Diff>(re)) {
    5053        return makeDiff(reverse_helper(diff->getLH(), captureMap), reverse_helper(diff->getRH(), captureMap));
Note: See TracChangeset for help on using the changeset viewer.