Ignore:
Timestamp:
Aug 28, 2017, 4:00:17 PM (23 months ago)
Author:
nmedfort
Message:

Bug fixes for multigrep mode. Optional PabloKernel? branch hit counter added. Minor optimizations.

File:
1 edited

Legend:

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

    r5554 r5620  
    9797        REs.swap(groups);
    9898    } else if (REs.size() > 1) {
    99         re::RE * re_ast = re::makeAlt(REs.begin(), REs.end());
    100         REs.assign({re_ast});
     99        REs.assign({re::makeAlt(REs.begin(), REs.end())});
    101100    }
    102101
    103102    for (re::RE *& re_ast : REs) {
     103        assert (re_ast);
    104104        if (grep::WordRegexpFlag) {
    105105            re_ast = re::makeSeq({re::makeWordBoundary(), re_ast, re::makeWordBoundary()});
Note: See TracChangeset for help on using the changeset viewer.