Ignore:
Timestamp:
Nov 6, 2016, 8:37:11 PM (3 years ago)
Author:
nmedfort
Message:

Initial work on adding types to PabloAST and mutable Var objects.

File:
1 edited

Legend:

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

    r5162 r5202  
    2828static cl::OptionCategory RegexOptions("Regex Toolchain Options",
    2929                                              "These options control the regular expression transformation and compilation.");
    30 const cl::OptionCategory * re_toolchain_flags() {return &RegexOptions;};
     30const cl::OptionCategory * re_toolchain_flags() {
     31    return &RegexOptions;
     32}
    3133
    3234static cl::bits<RE_PrintFlags>
     
    9395}
    9496   
    95 PabloFunction * re2pablo_compiler(const unsigned encodingBits, RE * re_ast, bool CountOnly) {
    96     PabloFunction * function = PabloFunction::Create("process_block", encodingBits, CountOnly ? 0 : 2);
     97PabloFunction * re2pablo_compiler(const unsigned encodingBits, RE * re_ast, const bool CountOnly) {
     98    PabloFunction * function = PabloFunction::Create("process_block");
    9799    cc::CC_Compiler cc_compiler(*function, encodingBits);
    98100    re::RE_Compiler re_compiler(*function, cc_compiler, CountOnly);
     
    102104    return function;
    103105}
     106
    104107}
Note: See TracChangeset for help on using the changeset viewer.