Ignore:
Timestamp:
Jan 8, 2015, 8:41:34 AM (4 years ago)
Author:
cameron
Message:

Command line parameter -i for case-insensitive matching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/compiler.cpp

    r4410 r4412  
    5757namespace icgrep {
    5858
    59 LLVM_Gen_RetVal compile(const Encoding encoding, const std::vector<std::string> regexps, const bool enable_multiplexing) {
     59LLVM_Gen_RetVal compile(const Encoding encoding, const std::vector<std::string> regexps, const ModeFlagSet initialFlags) {
    6060    std::vector<RE *> REs;
    6161    RE * re_ast = nullptr;
     
    6363        try
    6464        {
    65             re_ast = RE_Parser::parse(regexps[i]);
     65            re_ast = RE_Parser::parse(regexps[i], initialFlags);
    6666        }
    6767        catch (ParseFailure failure)
     
    120120    PabloBlock & main = PabloBlock::Create();
    121121
    122     CC_Compiler cc_compiler(main, encoding, enable_multiplexing);
     122    CC_Compiler cc_compiler(main, encoding);
    123123   
    124124    cc_compiler.compileByteClasses(re_ast);
Note: See TracChangeset for help on using the changeset viewer.