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

This commit is contained in:
martinez 2004-05-17 15:17:55 +00:00
parent 788ed772c2
commit 62a05ab1fb
3 changed files with 16 additions and 8 deletions

View file

@ -1,5 +1,7 @@
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,

View file

@ -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;

View file

@ -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) &&