Display version information and exit
| 542 | |
| 543 | /// Display version information and exit |
| 544 | void Reflex::version() |
| 545 | { |
| 546 | std::cout << "reflex " REFLEX_VERSION " " PLATFORM << "\n" |
| 547 | "License BSD-3-Clause: <https://opensource.org/licenses/BSD-3-Clause>\n" |
| 548 | "Written by Robert van Engelen and others: <https://github.com/Genivia/RE-flex>" << std::endl; |
| 549 | exit(EXIT_SUCCESS); |
| 550 | } |
| 551 | |
| 552 | /// Display help information with an optional diagnostic message and exit |
| 553 | void Reflex::help(const char *message, const char *arg) |
nothing calls this directly
no outgoing calls
no test coverage detected