| 163 | ) { } |
| 164 | |
| 165 | virtual void fatal_error ( |
| 166 | const unsigned long line_number |
| 167 | ) |
| 168 | { |
| 169 | std::ostringstream sout; |
| 170 | sout << "There is a fatal error on line " << line_number << " so parsing will now halt."; |
| 171 | throw dlib::error(sout.str()); |
| 172 | } |
| 173 | }; |
| 174 | |
| 175 | // ---------------------------------------------------------------------------------------- |