| 111 | } |
| 112 | |
| 113 | void yyassert(ParserState* pp, bool cond, const char* str) |
| 114 | { |
| 115 | if (!cond) { |
| 116 | pp->err << "Error: " << str |
| 117 | << " in line no. " << yyget_lineno(pp->yyscanner) |
| 118 | << std::endl; |
| 119 | pp->hadError = true; |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | /* |
| 124 | * The symbol tables |
no test coverage detected