sbacc: fix a serious bug

Reported by Thibaud Michaud

* spot/twaalgos/sbacc.cc: Do not label rejecting SCCs with the empty
mark, as it might be accepting.
* tests/core/sbacc.test: Add test cases.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-04-19 18:46:35 +02:00
parent cb920242a7
commit 9377db2e5e
3 changed files with 86 additions and 1 deletions

5
NEWS
View file

@ -20,6 +20,11 @@ New in spot 2.3.3.dev (not yet released)
- spot::dtwa_complement now simply returns the result of dualize()
Bugs fixed:
- the transformation to state-based acceptance (spot::sbacc()) was
incorrect on automata where the empty acceptance mark is accepting.
Backward-incompatible changes:
- spot::acc_cond::mark_t::operator bool() has been marked as