ltlfilt: Add %r and %R format options
* NEWS: Declare new options. * bin/common_output.cc: Add new options. * bin/common_output.hh: Add new options. * bin/genltl.cc: Update. * bin/ltlfilt.cc: Update. * bin/ltlgrind.cc: Update. * bin/randltl.cc: Update.
This commit is contained in:
parent
ad9bc644ba
commit
8cf542644c
7 changed files with 35 additions and 11 deletions
|
|
@ -250,13 +250,13 @@ output_pattern(gen::ltl_pattern_id pattern, int n)
|
|||
|
||||
if (opt_positive || !opt_negative)
|
||||
{
|
||||
output_formula_checked(f, gen::ltl_pattern_name(pattern), n);
|
||||
output_formula_checked(f, nullptr, gen::ltl_pattern_name(pattern), n);
|
||||
}
|
||||
if (opt_negative)
|
||||
{
|
||||
std::string tmp = "!";
|
||||
tmp += gen::ltl_pattern_name(pattern);
|
||||
output_formula_checked(formula::Not(f), tmp.c_str(), n);
|
||||
output_formula_checked(formula::Not(f), nullptr, tmp.c_str(), n);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue