Ignore:
Timestamp:
Dec 26, 2017, 10:37:33 AM (17 months ago)
Author:
cameron
Message:

Failure case and fix

File:
1 edited

Legend:

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

    r5797 r5809  
    5151    friend CC * makeCC(std::vector<interval_t> && list, const cc::Alphabet * alphabet);
    5252    friend CC * makeCC(UCD::UnicodeSet && set, const cc::Alphabet * alphabet);
     53    friend bool intersects(const CC * a, const CC * b);
    5354    friend CC * subtractCC(const CC * a, const CC * b);
    5455    friend CC * intersectCC(const CC * a, const CC * b);
     
    145146}
    146147
     148inline bool intersects(const CC * a, const CC * b) {
     149    return (*a).intersects(*b);
     150}
     151
    147152inline CC * makeByte(const codepoint_t codepoint) {
    148153    return new CC(codepoint, &cc::Byte);
Note: See TracChangeset for help on using the changeset viewer.