Changeset 6279


Ignore:
Timestamp:
Jan 19, 2019, 2:44:46 PM (3 months ago)
Author:
cameron
Message:

Contextual assertion simplification of Alt succeeds if any alternative succeeds.

File:
1 edited

Legend:

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

    r6278 r6279  
    297297        for (RE * a: *alt) {
    298298            ContextMatchCursor a_match = ctxt_match(a, kind, cursor);
    299             if (a_match.rslt == cursor.rslt) return a_match;
     299            if (a_match.rslt == MatchResult::Success) return a_match;
    300300            if (a_match.rslt == MatchResult::Possible) bestSoFar = a_match;
    301301        }
Note: See TracChangeset for help on using the changeset viewer.