// Generated by Bisonc++ V5.00.00 on Thu, 07 Apr 2016 13:28:57 +0530 // Include this file in the sources of the class Parser. // $insert class.h #include "parser.h" inline void Parser::error(char const *msg) { std::cerr << msg << '\n'; } inline void Parser::error() { std::cerr << "syntax error\n"; } // $insert lex inline int Parser::lex() { return d_scanner.lex(); } inline void Parser::print() { print_(); // displays tokens if --print was specified } inline void Parser::exceptionHandler(std::exception const &exc) { throw; // re-implement to handle exceptions thrown by actions } // Add here includes that are only required for the compilation // of Parser's sources. // UN-comment the next using-declaration if you want to use // int Parser's sources symbols from the namespace std without // specifying std:: using namespace std;