Ignore:
Timestamp:
Apr 5, 2018, 9:18:57 PM (18 months ago)
Author:
cameron
Message:

Decouple GrepEngine? and re utilities from command line flags

File:
1 edited

Legend:

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

    r5835 r5945  
    6262                         cl::cat(RegexOptions));
    6363
    64 RE * resolveModesAndExternalSymbols(RE * r) {
     64RE * resolveModesAndExternalSymbols(RE * r, bool globallyCaseInsensitive) {
    6565    if (PrintOptions.isSet(ShowAllREs) || PrintOptions.isSet(ShowREs)) {
    6666        errs() << "Parser:\n" << Printer_RE::PrintRE(r) << '\n';
     
    7474        errs() << "resolveUnicodeProperties:\n" << Printer_RE::PrintRE(r) << '\n';
    7575    }
    76     r = resolveCaseInsensitiveMode(r, grep::IgnoreCaseFlag);
     76    r = resolveCaseInsensitiveMode(r, globallyCaseInsensitive);
    7777    if (PrintOptions.isSet(ShowAllREs)) {
    7878        errs() << "resolveCaseInsensitiveMode:\n" << Printer_RE::PrintRE(r) << '\n';
Note: See TracChangeset for help on using the changeset viewer.