hide implementation of spot::acc_cond::mark_t
* bin/autcross.cc, bin/autfilt.cc, bin/ltlcross.cc, spot/parseaut/parseaut.yy: use SPOT_NB_ACC * spot/twa/acc.hh: make implementation private
This commit is contained in:
parent
c6c085ab22
commit
cde0977ef8
5 changed files with 33 additions and 22 deletions
|
|
@ -509,8 +509,7 @@ namespace
|
|||
const spot::const_twa_graph_ptr& aut_j,
|
||||
size_t i, size_t j)
|
||||
{
|
||||
if (aut_i->num_sets() + aut_j->num_sets()
|
||||
> 8 * sizeof(spot::acc_cond::mark_t::value_t))
|
||||
if (aut_i->num_sets() + aut_j->num_sets() > SPOT_NB_ACC)
|
||||
{
|
||||
std::cerr << "info: building " << autname(i)
|
||||
<< '*' << autname(j, true)
|
||||
|
|
|
|||
|
|
@ -930,8 +930,7 @@ parse_opt(int key, char* arg, struct argp_state*)
|
|||
if (res < 0)
|
||||
error(2, 0, "acceptance sets should be non-negative:"
|
||||
" --mask-acc=%ld", res);
|
||||
if (static_cast<unsigned long>(res)
|
||||
> sizeof(spot::acc_cond::mark_t::value_t))
|
||||
if (static_cast<unsigned long>(res) > SPOT_NB_ACC)
|
||||
error(2, 0, "this implementation does not support that many"
|
||||
" acceptance sets: --mask-acc=%ld", res);
|
||||
opt_mask_acc.set(res);
|
||||
|
|
|
|||
|
|
@ -691,8 +691,7 @@ namespace
|
|||
const spot::const_twa_graph_ptr& aut_j,
|
||||
size_t i, size_t j, bool icomp, bool jcomp)
|
||||
{
|
||||
if (aut_i->num_sets() + aut_j->num_sets()
|
||||
> 8 * sizeof(spot::acc_cond::mark_t::value_t))
|
||||
if (aut_i->num_sets() + aut_j->num_sets() > SPOT_NB_ACC)
|
||||
{
|
||||
// Report the skipped test if both automata are not
|
||||
// complemented, or the --verbose option is used,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue