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

delete the linebreak computation in icgrep

File:
1 edited

Legend:

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

    r5310 r5357  
    8787void re2pablo_compiler(PabloKernel * kernel, RE * re_ast, const bool CountOnly) {
    8888    Var * const basis = kernel->getInputStreamVar("basis");
     89    Var * const linebreak = kernel->getInputStreamVar("linebreak");
    8990    cc::CC_Compiler cc_compiler(kernel, basis);
    9091    re::RE_Compiler re_compiler(kernel, cc_compiler, CountOnly);
    91     re_compiler.initializeRequiredStreams(basis->getType()->getArrayNumElements());
     92    re_compiler.initializeRequiredStreams(basis->getType()->getArrayNumElements(), linebreak);
    9293    re_compiler.compileUnicodeNames(re_ast);
    9394    re_compiler.finalizeMatchResult(re_compiler.compile(re_ast), AlgorithmOptions.isSet(InvertMatches));
Note: See TracChangeset for help on using the changeset viewer.