Ignore:
Timestamp:
Feb 9, 2017, 4:06:24 PM (2 years ago)
Author:
cameron
Message:

Boundary assertions; comment out a bug with RemoveNullableAfterAssertion?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_assertion.h

    r4829 r5308  
    2020        return false;
    2121    }
    22     enum class Kind {Lookbehind, Lookahead};
     22    enum class Kind {Lookbehind, Lookahead, Boundary};
    2323    enum class Sense {Positive, Negative};
    2424
     
    6060}
    6161
     62inline RE * makeBoundaryAssertion(RE * r) {
     63    return makeAssertion(r, Assertion::Kind::Boundary, Assertion::Sense::Positive);
     64}
     65
     66inline RE * makeNegativeBoundaryAssertion(RE * r) {
     67    return makeAssertion(r, Assertion::Kind::Boundary, Assertion::Sense::Negative);
     68}
     69   
    6270}
    6371
Note: See TracChangeset for help on using the changeset viewer.