twagraph: fix highlight-edges in defrag_states

Fixes #555 reported by Dávid Smolka.

* spot/twa/twagraph.cc (defrag_states): Update highlight-edge.
* spot/graph/graph.hh (defrag_states): Just point to
twa_graph::defrag_states in a comment, because the latter relies
on the implementation detail of graph::defrag_state.
* tests/python/parsetgba.py: Add test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2023-11-23 20:27:05 +01:00
parent 193fdd6f95
commit 55575a11e3
4 changed files with 66 additions and 0 deletions

4
NEWS
View file

@ -187,6 +187,10 @@ New in spot 2.11.6.dev (not yet released)
completely obsolete. This third argument has been marked as
depreated. (Issue #553)
- twa::defrag_states(), which is called for instance by
purge_dead_state(), did not update the highlight-edges property.
(Issue #555.)
New in spot 2.11.6 (2023-08-01)
Bug fixes: