Ignore:
Timestamp:
Jan 21, 2015, 11:26:40 AM (5 years ago)
Author:
cameron
Message:

Throw exceptions in preference to exit(-1)

File:
1 edited

Legend:

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

    r4416 r4431  
    6666        catch (ParseFailure failure)
    6767        {
    68             std::cerr << "REGEX PARSING FAILURE: " << failure.what() << std::endl;
     68            std::cerr << "Regex parsing failure: " << failure.what() << std::endl;
    6969            std::cerr << regexps[i] << std::endl;
    7070            exit(1);
Note: See TracChangeset for help on using the changeset viewer.