Ignore:
Timestamp:
May 19, 2016, 8:50:15 PM (3 years ago)
Author:
cameron
Message:

Add pablo.atEOF; clean out bit4/6 hack for unterminated final lines in icgrep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.cpp

    r5023 r5042  
    171171    return result;
    172172}
    173    
     173
     174PabloAST * PabloBuilder::createAtEOF(PabloAST * expr) {
     175    MAKE_UNARY(createAtEOF, PabloAST::ClassTypeId::AtEOF, expr);
     176    return result;
     177}
     178
     179PabloAST * PabloBuilder::createAtEOF(PabloAST * expr, const std::string prefix) {
     180    MAKE_UNARY(createAtEOF, PabloAST::ClassTypeId::AtEOF, expr, prefix);
     181    return result;
     182}
     183
    174184PabloAST * PabloBuilder::createMatchStar(PabloAST * marker, PabloAST * charclass) {
    175     MAKE_BINARY(createMatchStar, PabloAST::ClassTypeId::MatchStar, marker, charclass);
    176     return result;
     185MAKE_BINARY(createMatchStar, PabloAST::ClassTypeId::MatchStar, marker, charclass);
     186return result;
    177187}
    178188
Note: See TracChangeset for help on using the changeset viewer.