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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue