Add a parse_boolean() function to use in parsers for Automata.
* src/ltlparse/public.hh, src/ltlparse/ltlparse.yy (parse_boolean): New function. * src/neverparse/neverclaimparse.yy, src/tgbaparse/tgbaparse.yy: Use it.
This commit is contained in:
parent
da5f7ac3aa
commit
877082bfb0
4 changed files with 156 additions and 16 deletions
|
|
@ -113,7 +113,8 @@ line: strident ',' strident ',' condition ',' acc_list ';'
|
|||
{
|
||||
parse_error_list pel;
|
||||
const formula* f =
|
||||
spot::ltl::parse(*$5, pel, parse_environment);
|
||||
spot::ltl::parse_boolean(*$5, pel, parse_environment,
|
||||
debug_level());
|
||||
for (parse_error_list::iterator i = pel.begin();
|
||||
i != pel.end(); ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue