documentation/manual/demos/errorcalc/parser/Parser.ih
raw| 1 | // Generated by Bisonc++ V6.04.00 on Fri, 20 Mar 2020 15:23:21 +0100 |
| 2 | |
| 3 | // Include this file in the sources of the class Parser. |
| 4 | |
| 5 | // $insert class.h |
| 6 | #include "Parser.h" |
| 7 | |
| 8 | |
| 9 | inline void Parser::error() |
| 10 | { |
| 11 | std::cerr << "Syntax error\n"; |
| 12 | } |
| 13 | |
| 14 | inline void Parser::print() |
| 15 | { |
| 16 | } |
| 17 | |
| 18 | inline void Parser::exceptionHandler(std::exception const &exc) |
| 19 | { |
| 20 | throw; // re-implement to handle exceptions thrown by actions |
| 21 | } |
| 22 | |
| 23 | #include <cmath> |
| 24 | |
| 25 | //using namespace std; |