parseaut: update highlight-edges when edges are dropped/added

This fixes #548, reported by Dávid Smolka.

* spot/parseaut/parseaut.yy: Update the edge numbers in the
highlight-edges property.
* tests/core/highlightstate.test: Add test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2023-11-14 18:14:12 +01:00
parent b7a0a8c324
commit bed87c60a4
3 changed files with 80 additions and 23 deletions

2
NEWS
View file

@ -127,6 +127,8 @@ New in spot 2.11.6.dev (not yet released)
(This cheap check will not catch all automata incorrectly labeled
by !weak, but helps detects some issues nonetheless.)
- The automaton parser forgot to update the list of highlighted
edges while dropping edges labeled by bddfalse. (issue #548.)
New in spot 2.11.6 (2023-08-01)