Sort comutative binops like we sort multops.
* src/ltlast/formula.hh (is_literal): Rename as... (get_literal): ... this. (is_literal): New method. (formula_ptr_less_than_multop): Rename as... (formula_ptr_less_than_bool_first): ... this. * src/ltlast/binop.cc: Use formula_ptr_less_than_bool_first. * src/ltlast/multop.cc, src/ltlast/formula.cc: Adjust to renamings.
This commit is contained in:
parent
228121c963
commit
c01909e3ff
4 changed files with 45 additions and 22 deletions
|
|
@ -120,8 +120,7 @@ namespace spot
|
|||
return out;
|
||||
}
|
||||
|
||||
|
||||
const formula* is_literal(const formula* f)
|
||||
const formula* get_literal(const formula* f)
|
||||
{
|
||||
const unop* g = is_Not(f);
|
||||
if (g)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue