ltlcross: Add a --stop-on-error option.

* src/bin/ltlcross.cc: Add the option.
* src/bin/common_finput.hh, src/bin/common_finput.cc: Make it possible
to abort run().
This commit is contained in:
Alexandre Duret-Lutz 2012-10-23 23:10:07 +02:00
parent 1f12ad8765
commit d552be308b
3 changed files with 21 additions and 2 deletions

View file

@ -51,7 +51,11 @@ parse_formula(const std::string& s, spot::ltl::parse_error_list& error_list);
class job_processor
{
protected:
bool abort_run; // Set to true in process_formula() to abort run().
public:
job_processor();
virtual ~job_processor()
{
}