Ignore:
Timestamp:
Mar 11, 2016, 8:59:02 PM (3 years ago)
Author:
cameron
Message:

Repetition of assertions are simplified

File:
1 edited

Legend:

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

    r4203 r4971  
    55 */
    66
     7#include "re_assertion.h"
    78#include "re_rep.h"
    89#include "re_seq.h"
     
    3435        }
    3536    }
     37    else if (isa<Assertion>(re)) {
     38        if (lb > 0) return re;
     39        else return makeSeq();
     40    }
    3641    else {
    3742        if (Seq * seq = dyn_cast<Seq>(re)) {
Note: See TracChangeset for help on using the changeset viewer.