Add support for [+].
* src/ltlast/bunop.cc (bunop::format): Output [*1..] as [+]. * src/ltlvisit/tostring.cc: Output "a*" as "a[*]" for consistency. * src/ltlparse/ltlparse.yy, src/ltlparse/ltlscan.ll: Recognize [+]. * src/ltltest/tostring.test, src/ltltest/equals.test, src/tgbatest/ltl2tgba.test: More tests.
This commit is contained in:
parent
126b724a98
commit
567b460738
7 changed files with 28 additions and 12 deletions
|
|
@ -66,4 +66,6 @@ run 0 ../tostring '{a[*0..1]}'
|
|||
run 0 ../tostring '{a[*0..]}'
|
||||
run 0 ../tostring '{a[*..]}'
|
||||
run 0 ../tostring '{a[*1..]}'
|
||||
run 0 ../tostring '{a[+]}'
|
||||
run 0 ../tostring '{[+]}'
|
||||
run 0 ../tostring '{a[*2..3][*4..5]}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue