38 #include "config_HAVE_BISON_2_7_OR_GREATER.hpp" 42 #if HAVE_BISON_2_7_OR_GREATER 43 #include "discrepancyParser.hpp" 45 #include "discrepancyParser.h" 62 catch(
const char* msg)
64 std::cerr << msg << std::endl;
66 catch(
const std::string& msg)
68 std::cerr << msg << std::endl;
72 std::cerr <<
"unknown exception" << std::endl;
74 THROW_ERROR(
"Error in parsing discrepancy data file: " + c_trace_filename);
void parse_discrepancy(const std::string &c_trace_filename, DiscrepancyRef Discrepancy)
exceptions managed by PandA
REF_FORWARD_DECL(Discrepancy)
#define THROW_ERROR(str_expr)
helper function used to throw an error in a standard way
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
void discrepancy_parseY(const std::string &fname, DiscrepancyRef Discrepancy)