Fix translation of '{(c&!c)[->0..1]}!'.

* src/tgbaalgos/ltl2tgba_fm.cc (ratexp_trad_visitor::visit): Fix
the translation of the Goto operator.
(ratexp_trad_visitor::next_to_concat): More comments.
* src/ltltest/reduccmp.test: Add a test case.
This commit is contained in:
Alexandre Duret-Lutz 2011-10-30 18:34:49 +01:00
parent 1507dbc63a
commit 58bbaa0859
2 changed files with 52 additions and 7 deletions

View file

@ -187,6 +187,10 @@ for x in ../reduccmp ../reductaustr; do
# F comes in front when possible...
run 0 $x 'GFc|GFd|FGe|FGf' 'F(GF(c|d)|Ge|Gf)'
run 0 $x 'G(GFc|GFd|FGe|FGf)' 'F(GF(c|d)|Ge|Gf)'
# Because reduccmp will translate the formula,
# this also check for an old bug in ltl2tgba_fm.
run 0 $x '{(c&!c)[->0..1]}!' '0'
;;
esac