Commit 3dfde9e8 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Make sure PSL formulae are translated with the FM translation.

* src/tgbatest/ltl2tgba.cc: Diagnose attempt to use -l and -taa
on PSL formulae.  Switch back to -f for these formulae.
parent 9e92267c
......@@ -826,6 +826,15 @@ main(int argc, char** argv)
std::cout << spot::ltl::to_string(f) << std::endl;
}
if (f->is_psl_formula()
&& !f->is_ltl_formula()
&& translation != TransFM)
{
std::cerr << "Only the FM algorithm can translate PSL formulae;"
<< " I'm using it for this formula." << std::endl;
translation = TransFM;
}
tm.start("translating formula");
switch (translation)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment