bin: allow %l to be used to print serial numbers
* NEWS: Mention it. * bin/autfilt.cc, bin/common_aoutput.cc, bin/common_aoutput.hh, bin/common_output.cc, bin/common_output.hh, bin/dstar2tgba.cc, bin/genaut.cc, bin/genltl.cc, bin/ltl2tgba.cc, bin/ltldo.cc, bin/ltlfilt.cc, bin/ltlgrind.cc, bin/randaut.cc, bin/randltl.cc: Implement it. * doc/org/oaut.org: Add a short example. * tests/core/serial.test: New file. * tests/Makefile.am: Add it.
This commit is contained in:
parent
8369663380
commit
61b457a37e
18 changed files with 183 additions and 41 deletions
|
|
@ -155,8 +155,9 @@ namespace
|
|||
auto aut = trans.run(&f);
|
||||
timer.stop();
|
||||
|
||||
printer.print(aut, timer, f, filename, linenum, nullptr,
|
||||
prefix, suffix);
|
||||
static unsigned index = 0;
|
||||
printer.print(aut, timer, f, filename, linenum, index++,
|
||||
nullptr, prefix, suffix);
|
||||
// If we keep simplification caches around, atomic propositions
|
||||
// will still be defined, and one translation may influence the
|
||||
// variable order of the next one.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue