sbacc: fix sbacc producing complete automata marked as incomplete

Fixes #312, reported by František Blahoudek.

* spot/twaalgos/sbacc.cc: Detect the case were this can happen,
and fix it.
* tests/core/sbacc.test: New test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-12-22 18:27:07 +01:00
parent 396024143c
commit 18e65f3bc8
3 changed files with 29 additions and 0 deletions

4
NEWS
View file

@ -6,6 +6,10 @@ New in spot 2.4.3.dev (not yet released)
Fin-less & CNF version of the acceptance condition had several
unit clauses.
- If the automaton passed to sbacc() was incomplete because of some
unreachable states, then it was possible that the output would
marked incomplete while it was in fact complete.
New in spot 2.4.3 (2017-12-19)
Bugs fixed: