ltlparse: allow comments

* src/ltlparse/ltlscan.ll: Skip comments.
* src/ltltest/ltlfilt.test: Test this.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2014-12-11 21:43:08 +01:00
parent 9cee6e6fa1
commit f9e859d765
3 changed files with 34 additions and 4 deletions

View file

@ -34,14 +34,14 @@ checkopt()
# The empty lines in the file are meant, we want to make sure that
# they are ignored.
cat >formulas <<EOF
GFa | FGb
F(GFa | Gb)
GFa | FGb /* comment to ignore */
F(GFa | /* tricky /* comment */)*/ Gb)
F(b W GFa)
GFa | Gb
b W GFa
!{a;b*;c}!
!{a:b*:c}
!{a:b[*/*ignore me*/]:c/*ignore this comment*/}
a U Fb
G(a & Xb)
Xa