Commit 62a05ab1 authored by martinez's avatar martinez
Browse files

* src/ltlvisit/basereduc.cc, src/ltltest/inf.cc (main): Style.

parent 788ed772
2004-05-17 Thomas Martinez <martinez@src.lip6.fr>
* src/ltlvisit/basereduc.cc, src/ltltest/inf.cc (main): Style.
* src/ltlvisit/basereduc.cc (spot): 80 columns.
* src/ltlvisit/reducform.cc (spot), src/ltltest/inf.cc,
src/ltltest/reduc.cc (main), src/ltlvisit/reducform.hh,
......
......@@ -92,7 +92,8 @@ main(int argc, char** argv)
exit_return = 1;
}
break;
default: break;
default:
break;
}
spot::ltl::dump(std::cout, f1); std::cout << std::endl;
......
......@@ -86,7 +86,8 @@ namespace spot
return;
/* XGF(f) = GF(f) */
if (is_GF(result_)) return;
if (is_GF(result_))
return;
/* X(f1 & GF(f2)) = X(f1) & GF(F2) */
/* X(f1 | GF(f2)) = X(f1) | GF(F2) */
......@@ -338,7 +339,6 @@ namespace spot
void
visit(multop* mo)
{
if (mo == NULL);
multop::type op = mo->op();
unsigned mos = mo->size();
multop::vec* res = new multop::vec;
......@@ -402,7 +402,8 @@ namespace spot
tmpUright = new multop::vec;
for (multop::vec::iterator j = i; j != res->end(); j++)
{
if (*j == NULL) continue;
if (*j == NULL)
continue;
if ((node_type(*j) == node_type_form_visitor::Binop)
&&
(dynamic_cast<binop*>(*j)->op() == binop::U) &&
......@@ -435,7 +436,8 @@ namespace spot
tmpRright = new multop::vec;
for (multop::vec::iterator j = i; j != res->end(); j++)
{
if (*j == NULL) continue;
if (*j == NULL)
continue;
if ((node_type(*j) == node_type_form_visitor::Binop)
&&
(dynamic_cast<binop*>(*j)->op() == binop::R) &&
......@@ -477,7 +479,8 @@ namespace spot
for (multop::vec::iterator i = res->begin(); i != res->end(); i++)
{
if (*i == NULL) continue;
if (*i == NULL)
continue;
switch (node_type(*i))
{
......@@ -510,7 +513,8 @@ namespace spot
tmpUright = new multop::vec;
for (multop::vec::iterator j = i; j != res->end(); j++)
{
if (*j == NULL) continue;
if (*j == NULL)
continue;
if ((node_type(*j) == node_type_form_visitor::Binop)
&&
(dynamic_cast<binop*>(*j)->op() == binop::U) &&
......@@ -541,7 +545,8 @@ namespace spot
tmpRright = new multop::vec;
for (multop::vec::iterator j = i; j != res->end(); j++)
{
if (*j == NULL) continue;
if (*j == NULL)
continue;
if ((node_type(*j) == node_type_form_visitor::Binop)
&&
(dynamic_cast<binop*>(*j)->op() == binop::R) &&
......
Supports Markdown
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