Recognize and use "*" (or "[*]") as an abbreviation for 1*.

* src/ltlparse/ltlparse.yy: Recognize "*" as "1*".
* src/ltlvisit/tostring.cc: Abbreviate "1*" as "*".
* src/tgbatest/ltl2tgba.test: Use the new syntax.
This commit is contained in:
Alexandre Duret-Lutz 2010-03-10 16:01:27 +01:00
parent 4bde130d38
commit 93c042d0fa
3 changed files with 15 additions and 1 deletions

View file

@ -83,7 +83,7 @@ check_psl '{((!c;b*) & d);e}'
check_psl '{(a* & (c;b*) & d);e}'
# Example from "Beyond Hardware Verification" by Glazberg, Moulin, Orni,
# Ruah, Zarpas (2007).
check_psl '{1[*];req;ack}|=>{start;busy[*];done}'
check_psl '{[*];req;ack}|=>{start;busy[*];done}'
# Make sure 'a U (b U c)' has 3 states and 6 transitions,
# before and after degeneralization.