Ignore:
Timestamp:
Nov 16, 2015, 4:20:15 PM (4 years ago)
Author:
nmedfort
Message:

Minor improvements to the optimizers and AST manipulation.

File:
1 edited

Legend:

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

    r4868 r4871  
    9292    re::RE * re_ast = nullptr;
    9393    for (unsigned i = 0; i < regexVector.size(); i++) {
    94 //        try
    95 //        {
    96 //            re_ast = re::RE_Parser::parse(regexVector[i], globalFlags);
    97 //        }
    98 //        catch (ParseFailure failure)
    99 //        {
    100 //            std::cerr << "Regex parsing failure: " << failure.what() << std::endl;
    101 //            std::cerr << regexVector[i] << std::endl;
    102 //            exit(1);
    103 //        }
    104 //        catch (UCD::UnicodePropertyExpressionError e)
    105 //        {
    106 //            std::cerr << "Unicode error: " << e.what() << std::endl;
    107 //            std::cerr << regexVector[i] << std::endl;
    108 //            exit(1);
    109 //        }
    11094        re_ast = re::RE_Parser::parse(regexVector[i], globalFlags);
    11195        REs.push_back(re_ast);
Note: See TracChangeset for help on using the changeset viewer.