Support braces in addition to parentheses in rational expressions.

* src/ltlparse/ltlparse.yy (rationalexp): Allow bracedrationalexp.
* src/ltltest/consterm.test, src/tgbatest/ltl2tgba.test: Add more
tests.
This commit is contained in:
Alexandre Duret-Lutz 2010-03-09 15:23:42 +01:00
parent 2f8c4ac8b7
commit 4e7233d9fa
3 changed files with 4 additions and 1 deletions

View file

@ -234,6 +234,8 @@ booleanatom: ATOMIC_PROP
rationalexp: booleanatom
| CONST_EMPTYWORD
{ $$ = constant::empty_word_instance(); }
| bracedrationalexp
{ $$ = $1; }
| PAR_OPEN rationalexp PAR_CLOSE
{ $$ = $2; }
| PAR_OPEN error PAR_CLOSE