* src/ltlvisit/lunabbrev.cc: Fix style to please sanity checks.
This commit is contained in:
parent
25dc63d1d4
commit
cfcfb6d425
2 changed files with 11 additions and 16 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
2004-05-17 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
2004-05-17 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
|
* src/ltlvisit/lunabbrev.cc: Fix style to please sanity checks.
|
||||||
|
|
||||||
* src/tgbaalgos/neverclaim.cc: Fix them.
|
* src/tgbaalgos/neverclaim.cc: Fix them.
|
||||||
* sanity/style.test: Diagnose semicolons with leading spaces.
|
* sanity/style.test: Diagnose semicolons with leading spaces.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
// et Marie Curie.
|
// et Marie Curie.
|
||||||
//
|
//
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
#include "ltlast/allnodes.hh"
|
#include "ltlast/allnodes.hh"
|
||||||
#include "ltlvisit/clone.hh"
|
#include "ltlvisit/clone.hh"
|
||||||
#include "lunabbrev.hh"
|
#include "lunabbrev.hh"
|
||||||
#include "reducform.hh"
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
namespace spot
|
namespace spot
|
||||||
|
|
@ -72,24 +71,18 @@ namespace spot
|
||||||
unop::instance(unop::Not,
|
unop::instance(unop::Not,
|
||||||
f2)));
|
f2)));
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* true U f2 == F(f2) */
|
/* true U f2 == F(f2) */
|
||||||
case binop::U:
|
case binop::U:
|
||||||
if ( node_type(f1) == node_type_form_visitor::Const )
|
if (f1 == constant::true_instance())
|
||||||
if ( ((constant*)f1)->val() == constant::True ) {
|
result_ = unop::instance(unop::F, f2);
|
||||||
result_ = unop::instance(unop::F,f2);
|
else
|
||||||
return;
|
|
||||||
}
|
|
||||||
result_ = binop::instance(bo->op(), f1, f2);
|
result_ = binop::instance(bo->op(), f1, f2);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* false R f2 == G(f2) */
|
/* false R f2 == G(f2) */
|
||||||
case binop::R:
|
case binop::R:
|
||||||
if ( node_type(f1) == node_type_form_visitor::Const )
|
if (f1 == constant::false_instance())
|
||||||
if ( ((constant*)f1)->val() == constant::False ) {
|
result_ = unop::instance(unop::G, f2);
|
||||||
result_ = unop::instance(unop::G,f2);
|
else
|
||||||
return;
|
|
||||||
}
|
|
||||||
result_ = binop::instance(bo->op(), f1, f2);
|
result_ = binop::instance(bo->op(), f1, f2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue