hoa: fix handling of escaped characters in atomic propositions
* src/hoaparse/hoascan.ll: Remove superfluous line. * src/tgbaalgos/hoaf.cc: Do not call to_string() to display names, as this would add another level of escaping. * src/tgbatest/hoaparse.test: Test it.
This commit is contained in:
parent
a9fa7d33c5
commit
0d59e55f4d
3 changed files with 8 additions and 4 deletions
|
|
@ -456,7 +456,7 @@ States: 2
|
|||
Start: 0
|
||||
Start: 1
|
||||
Start: 0 /* duplicate */
|
||||
AP: 2 "a" "b"
|
||||
AP: 2 "a" "\"b\""
|
||||
Acceptance: 1 Inf(0)
|
||||
--BODY--
|
||||
State: 0 {0}
|
||||
|
|
@ -472,7 +472,7 @@ expectok input <<EOF
|
|||
HOA: v1
|
||||
States: 3
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
AP: 2 "a" "\"b\""
|
||||
acc-name: Buchi
|
||||
Acceptance: 1 Inf(0)
|
||||
properties: trans-labels explicit-labels state-acc complete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue