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/generate_predefined_ucd_functions.cpp

    r4808 r4814  
    252252    // Build the unicode set function
    253253    PabloAST * result = nullptr;
    254     std::vector<UnicodeSet> sets;
    255     sets.push_back(std::move(set));
    256254    if (IfHierarchyStrategy == IfHierarchy::DefaultIfHierarchy) {
    257         result = ucdCompiler.generateWithDefaultIfHierarchy(sets, builder).front();
     255        result = ucdCompiler.generateWithDefaultIfHierarchy(&set, builder);
    258256    } else if (IfHierarchyStrategy == IfHierarchy::NoIfHierarchy) {
    259         result = ucdCompiler.generateWithoutIfHierarchy(sets, builder).front();
     257        result = ucdCompiler.generateWithoutIfHierarchy(&set, builder);
    260258    } else {
    261259        throw std::runtime_error("Unknown if hierarchy strategy!");
Note: See TracChangeset for help on using the changeset viewer.