dotty: output label for unreachable state even if SCCs are shown

* src/tgbaalgos/dotty.cc: Fix output of unreachable states.
* src/tgbatest/readsave.test: Add test.
This commit is contained in:
Alexandre Duret-Lutz 2015-01-23 17:29:35 +01:00
parent a4b6faba20
commit ae50155297
2 changed files with 53 additions and 3 deletions

View file

@ -154,7 +154,7 @@ namespace spot
unsigned ns = aut_->num_states();
for (unsigned n = 0; n < ns; ++n)
{
if (!si)
if (!si || !si->reachable_state(n))
process_state(n);
for (auto& t: aut_->out(n))
process_link(t);