Ignore:
Timestamp:
Dec 2, 2017, 6:39:08 PM (18 months ago)
Author:
cameron
Message:

Fixes for last check-in

File:
1 edited

Legend:

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

    r5753 r5754  
    1212namespace re {
    1313
    14 RE * FixedStringParser::parse_alt() {
    15     std::vector<RE *> alt;
    16     do {
    17         alt.push_back(parse_seq());
    18     }
    19     while (mCursor.more() && (*mCursor == '\n'));
    20     return makeAlt(alt.begin(), alt.end());
     14bool FixedStringParser::accept_alt_mark() {
     15    if (!mCursor.more() || (*mCursor != '\n')) return false;
     16    mCursor++;
     17    return true;
    2118}
    2219
Note: See TracChangeset for help on using the changeset viewer.