hoa: fix parsing of label-expr with parentheses

Report from Tomáš Babiak.

* src/hoaparse/hoaparse.yy: Here.
* src/tgbatest/hoaparse.test: Add example from a development version
of ltl3ba.
This commit is contained in:
Alexandre Duret-Lutz 2015-01-20 08:31:48 +01:00
parent 8c83c8a81e
commit c6110a884c
2 changed files with 82 additions and 0 deletions

View file

@ -593,6 +593,10 @@ label-expr: 't'
bdd_delref($3);
bdd_addref($$);
}
| '(' label-expr ')'
{
$$ = $2;
}
acc-set: INT