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

* src/tgbatest/ltl2tgba.cc (main): Fix style.

* HACKING: Mention `else if'.
parent 16fd8268
2004-05-14 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbatest/ltl2tgba.cc (main): Fix style.
* HACKING: Mention `else if'.
* src/tgbaalgos/neverclaim.cc (never_claim_bfs): Do not output
space before colon, and do not output the top-level formula using
Spin's syntax.
......
......@@ -147,6 +147,8 @@ Formating
...
}
* `else if' can be put as-is on a single line.
* No line should be larger than 80 columns.
If a line takes more than 80 columns, split it or rethink it.
......
......@@ -346,9 +346,11 @@ main(int argc, char** argv)
spot::ltl::formula* ftmp = f;
if (reduc_r4)
f = spot::ltl::reduce(f);
else {
if (reduc_r1 | reduc_r2 | reduc_r3) {
{
f = spot::ltl::reduce(f);
}
else if (reduc_r1 | reduc_r2 | reduc_r3)
{
spot::ltl::option o = spot::ltl::BRI;
if (reduc_r1)
o = spot::ltl::Base;
......@@ -358,7 +360,6 @@ main(int argc, char** argv)
o = spot::ltl::Inf;
f = spot::ltl::reduce(f, o);
}
}
if (fm_opt)
to_free = a = spot::ltl_to_tgba_fm(f, dict, fm_exprop_opt,
......
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