parseaut: diagnose invalid acceptance terms

* spot/parseaut/parseaut.yy: Add a diagnostic.
* tests/core/parseaut.test: Test it.
* NEWS: Document it.
This commit is contained in:
Alexandre Duret-Lutz 2016-12-01 15:51:55 +01:00
parent f3b95a8a11
commit 3d726fccb2
3 changed files with 32 additions and 5 deletions

5
NEWS
View file

@ -19,6 +19,11 @@ New in spot 2.2.1.dev (Not yet released)
being a terminal automaton is that reaching an accepting
transition guarantees that any suffix will be accepted.
* The HOA parser incorrectly read "Acceptance: 1 Bar(0)" as a valid
way to specify "Acceptance: 1 Fin(0)" because it assumed that
everything that was not Inf was Fin. These errors are now
diagnosed.
New in spot 2.2.1 (2016-11-21)
Bug fix: