do not rewrite <-> and -> for Spin LTL output

Fixes #39, reported by Joachim Klein.

* src/ltlvisit/lunabbrev.hh, src/ltlvisit/lunabbrev.cc: Take an option
to specify which of xor/equiv/implies should be rewritten.
* src/ltlvisit/print.cc (print_spin): Rewrite only xor.
* src/tests/ltlfilt.test: Add a test case.
* NEWS: Mention this.
This commit is contained in:
Alexandre Duret-Lutz 2015-08-14 17:28:01 +02:00
parent ac6b042e2c
commit 59202bd5de
5 changed files with 119 additions and 23 deletions

2
NEWS
View file

@ -26,6 +26,8 @@ New in spot 1.99.2a (not yet released)
double quotes where not always properly rendered.
- A spurious assertion was triggered by streett_to_generalized_buchi(),
but only when compiled in DEBUG mode.
- LTL formula rewritten in Spin's syntax no longer have their ->
and <-> rewritten aways.
New in spot 1.99.2 (2015-07-18)