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
|
|
@ -201,9 +201,9 @@ transition:
|
|||
else
|
||||
{
|
||||
spot::ltl::parse_error_list pel;
|
||||
const spot::ltl::formula* f = spot::ltl::parse(*$3, pel,
|
||||
parse_environment,
|
||||
false, true);
|
||||
const spot::ltl::formula* f =
|
||||
spot::ltl::parse_boolean(*$3, pel, parse_environment,
|
||||
debug_level(), true);
|
||||
delete $3;
|
||||
for(spot::ltl::parse_error_list::const_iterator i = pel.begin();
|
||||
i != pel.end(); ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue