neverparse: diagnose redefinition of state labels

Reported by Joachim Klein.

* src/neverparse/neverclaimparse.yy: Store labels and the
location of their first definition in a global map to catch
redefinitions.
* src/tgbatest/neverclaimread.test: Test it.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2014-08-31 19:07:53 +02:00
parent 9a8becb8d8
commit d401fadc65
3 changed files with 99 additions and 5 deletions

2
NEWS
View file

@ -12,6 +12,8 @@ New in spot 1.2.5a (not yet released)
positive formula. The same procedure should be performed with
automata obtained from negated formulas, but because of a typo
this was not the case.
- the neverclaim parser will now diagnose redefinitions of
state labels.
New in spot 1.2.5 (2014-08-21)