Ignore:
Timestamp:
Oct 3, 2015, 3:31:16 PM (4 years ago)
Author:
nmedfort
Message:

Added union/diff/intersection functionality to RE_Compiler. Removed toUTF8 pass in favour of using the UCD_Compiler.

File:
1 edited

Legend:

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

    r4808 r4814  
    110110        std::cerr << "NameMap:\n" << nameMap.printMap() << std::endl;
    111111    }
    112    
    113     //Add the UTF encoding.
    114     if (encoding.getType() == Encoding::Type::UTF_8) {
    115         re_ast = cc::UTF8_Encoder::toUTF8(nameMap, re_ast);
    116         if (PrintAllREs || PrintUTF8REs) {
    117             //Print to the terminal the AST that was generated by the utf8 encoder.
    118             std::cerr << "UTF8-encoder:" << std::endl << Printer_RE::PrintRE(re_ast) << std::endl;
    119             std::cerr << "NameMap:\n" << nameMap.printMap() << std::endl;
    120         }
    121     }
    122    
     112
    123113    re_ast = re::RE_Simplifier::simplify(re_ast);
    124114    if (PrintAllREs || PrintSimplifiedREs) {
Note: See TracChangeset for help on using the changeset viewer.