bin: abort autcross on input parse error

* bin/common_hoaread.hh (hoa_processor): Add a abort_on_error
option.
* bin/autcross.cc: Use it.
* tests/core/autcross4.test: Add many more error cases to improve
coverage.
This commit is contained in:
Alexandre Duret-Lutz 2018-05-21 13:21:37 +02:00
parent faca835a5e
commit 1f9f3c77ea
4 changed files with 42 additions and 11 deletions

4
NEWS
View file

@ -5,6 +5,10 @@ New in spot 2.5.3.dev (not yet released)
- autcross' tool specifications now have %M replaced by the name of
the input automaton.
- autcross now aborts if there is any parser diagnostic for the
input automata (previous versions would use the input automaton
whenever the parser would manage to read something).
- autfilt learned --is-colored to filter automata that use
exactly one acceptance set per mark or transition.