sat-minimize: check for unused options
Fixes #179. * spot/twaalgos/dtwasat.cc: Add the check. * tests/core/minusx.test: Test it. * NEWS: Mention it.
This commit is contained in:
parent
e419150c30
commit
e80b443bc8
3 changed files with 15 additions and 4 deletions
|
|
@ -1296,6 +1296,10 @@ namespace spot
|
|||
int max_states = om.get("max-states", -1);
|
||||
auto accstr = om.get_str("acc");
|
||||
bool colored = om.get("colored", 0);
|
||||
int preproc = om.get("preproc", 3);
|
||||
|
||||
// No more om.get() below this.
|
||||
om.report_unused_options();
|
||||
|
||||
// Assume we are going to use the input automaton acceptance...
|
||||
bool user_supplied_acc = false;
|
||||
|
|
@ -1327,7 +1331,7 @@ namespace spot
|
|||
target_is_buchi = acccond.is_buchi();
|
||||
}
|
||||
|
||||
if (int preproc = om.get("preproc", 3))
|
||||
if (preproc)
|
||||
{
|
||||
postprocessor post;
|
||||
auto sba = (state_based && a->prop_state_acc()) ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue