Ignore:
Timestamp:
Jun 19, 2016, 3:00:47 PM (3 years ago)
Author:
cameron
Message:

New kernel infrastructure

File:
1 edited

Legend:

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

    r5046 r5063  
    407407        match_follow = mPB.createNot(match_follow);
    408408    }
    409     mFunction.setResult(0, mPB.createAssign("matches", mPB.createAnd(match_follow, mLineBreak)));
     409    Assign * matches = mPB.createAssign("matches", mPB.createAnd(match_follow, mLineBreak));
     410    mFunction.setResultCount(mPB.createCount("matchedLineCount", matches));
     411    mFunction.setResult(0, matches);
    410412}
    411413
Note: See TracChangeset for help on using the changeset viewer.