autfilt: add support for --name, %M, and %m

* src/bin/autfilt.cc: Here.
* src/tgbaalgos/stats.cc: Do not segfault if format is nullptr.
* src/tgbatest/readsave.test: Exercise --name, %M, and %m.
This commit is contained in:
Alexandre Duret-Lutz 2014-12-16 11:25:43 +01:00
parent 0d710f969b
commit 40c457b626
3 changed files with 71 additions and 5 deletions

View file

@ -154,7 +154,8 @@ namespace spot
declare('S', &scc_); // Historical. Deprecated. Use %c instead.
declare('t', &trans_);
set_output(os);
prime(format);
if (format)
prime(format);
}
std::ostream&