Ignore:
Timestamp:
Jan 10, 2015, 7:21:12 AM (5 years ago)
Author:
cameron
Message:

Empty sequences are legal

File:
1 edited

Legend:

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

    r4412 r4413  
    107107        seq.push_back(extend_item(re));
    108108    }
    109     if (seq.empty())
    110     {
    111         throw NoRegularExpressionFound();
    112     }
     109    //  Note: empty sequences are legal.
    113110    return makeSeq(seq.begin(), seq.end());
    114111}
Note: See TracChangeset for help on using the changeset viewer.