ltl2tgba_fm: make it easier to preserve state names
* src/twa/twagraph.cc, src/twa/twagraph.hh (create_formula_namer, release_formula_namer): New functions. * src/twaalgos/ltl2tgba_fm.cc: Use it.
This commit is contained in:
parent
487a86d06a
commit
778d8fe95b
3 changed files with 43 additions and 3 deletions
|
|
@ -2537,9 +2537,8 @@ namespace spot
|
|||
}
|
||||
}
|
||||
|
||||
for (auto n: namer->names())
|
||||
n->destroy();
|
||||
delete namer;
|
||||
// Set the following to true to preserve state names.
|
||||
a->release_formula_namer(namer, false);
|
||||
|
||||
dict->register_propositions(fc.used_vars(), a);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue