| 360 | ) { } |
| 361 | |
| 362 | virtual void fatal_error ( |
| 363 | const unsigned long line_number |
| 364 | ) |
| 365 | { |
| 366 | std::ostringstream sout; |
| 367 | sout << "There is a fatal error on line " << line_number << " so parsing will now halt."; |
| 368 | throw dlib::error(sout.str()); |
| 369 | } |
| 370 | }; |
| 371 | |
| 372 | // ------------------------------------------------------------------------------------ |