add options to %x to list atomic propositions
* bin/common_aoutput.cc, bin/common_aoutput.hh, bin/common_output.cc, bin/common_output.hh: Add options to %x to list atomic propositions with various quoting scheme. Deprecate --format=%a in favor of the new --format=%x for consistency with --stats=%x. * tests/core/format.test, tests/core/remprop.test: Adjust and add more tests. * NEWS: Mention these changes.
This commit is contained in:
parent
68ad391948
commit
18283d6907
7 changed files with 169 additions and 39 deletions
|
|
@ -75,6 +75,7 @@ diff out expected
|
|||
|
||||
cat >expected <<EOF
|
||||
HOA: v1
|
||||
name: "\"a\", \"b\", \"c\"->(c)"
|
||||
States: 3
|
||||
Start: 0
|
||||
AP: 1 "c"
|
||||
|
|
@ -90,7 +91,7 @@ State: 2
|
|||
--END--
|
||||
EOF
|
||||
|
||||
run 0 autfilt -H --remove-ap=a=1,b=0 automaton >out
|
||||
run 0 autfilt -H --remove-ap=a=1,b=0 --name='%[d, ]X->%[p]x' automaton >out
|
||||
cat out
|
||||
diff out expected
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue