Ignore:
Timestamp:
Mar 7, 2017, 2:09:25 PM (3 years ago)
Author:
xuedongx
Message:

delete the linebreak computation in icgrep

File:
1 edited

Legend:

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

    r5308 r5357  
    1010#include <re/re_seq.h>  // for Seq
    1111#include <boost/container/flat_map.hpp>
     12#include <pablo/builder.hpp>
    1213#include <vector>       // for vector<>::iterator
    1314namespace cc { class CC_Compiler; }
     
    6061
    6162    RE_Compiler(pablo::PabloKernel * kernel, cc::CC_Compiler & ccCompiler, bool CountOnly = false);
    62     void initializeRequiredStreams(const unsigned encodingBits);
     63    void initializeRequiredStreams(const unsigned encodingBits, pablo::Var * linebreak);
    6364    void compileUnicodeNames(RE *& re);
    6465    void finalizeMatchResult(MarkerType match_result, bool InvertMatches = false);
     
    9192    };
    9293
    93     void initializeRequiredStreams_utf8();
    94     void initializeRequiredStreams_utf16();
     94    void initializeRequiredStreams_utf8(pablo::Var * linebreak);
     95    void initializeRequiredStreams_utf16(pablo::Var * linebreak);
    9596    MarkerType compile(RE * re, pablo::PabloBuilder & cg);
    9697
Note: See TracChangeset for help on using the changeset viewer.