Ignore:
Timestamp:
Jun 9, 2016, 3:34:07 PM (3 years ago)
Author:
xuedongx
Message:

Support over UTF-16 representation of Unicode

File:
1 edited

Legend:

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

    r5033 r5045  
    8787   
    8888PabloFunction * re2pablo_compiler(const Encoding encoding, RE * re_ast) {
    89     PabloFunction * function = PabloFunction::Create("process_block", 8, 2);
     89    PabloFunction * function = PabloFunction::Create("process_block", encoding.getBits(), 2);
    9090    cc::CC_Compiler cc_compiler(*function, encoding);
    9191    re::RE_Compiler re_compiler(*function, cc_compiler);
    92     re_compiler.initializeRequiredStreams();
     92    re_compiler.initializeRequiredStreams(encoding);
    9393    re_compiler.compileUnicodeNames(re_ast);
    9494    re_compiler.finalizeMatchResult(re_compiler.compile(re_ast), AlgorithmOptions.isSet(InvertMatches));
Note: See TracChangeset for help on using the changeset viewer.