ltlparse: rename the main functions
parse -> parse_infix_psl parse_lbt -> parse_prefix_ltl parse_sere -> parse_infix_sere parse_boolean -> parse_infix_boolean Fixes #87. * src/ltlparse/ltlparse.yy, src/ltlparse/public.hh: Do the above changes. * doc/mainpage.dox, doc/org/tut01.org, iface/ltsmin/modelcheck.cc, src/bin/common_finput.cc, src/hoaparse/hoaparse.yy, src/kripkeparse/kripkeparse.yy, src/tests/checkpsl.cc, src/tests/checkta.cc, src/tests/complementation.cc, src/tests/consterm.cc, src/tests/emptchk.cc, src/tests/equalsf.cc, src/tests/kind.cc, src/tests/length.cc, src/tests/ltl2tgba.cc, src/tests/ltlprod.cc, src/tests/ltlrel.cc, src/tests/randtgba.cc, src/tests/readltl.cc, src/tests/reduc.cc, src/tests/syntimpl.cc, src/tests/tostring.cc, wrap/python/ajax/spot.in, wrap/python/tests/alarm.py, wrap/python/tests/interdep.py, wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltlparse.py: Adjust.
This commit is contained in:
parent
aedce8101c
commit
98790f5345
29 changed files with 118 additions and 113 deletions
|
|
@ -1212,8 +1212,8 @@ nc-formula: nc-formula-or-ident
|
|||
if (i == res.fcache.end())
|
||||
{
|
||||
spot::ltl::parse_error_list pel;
|
||||
auto f = spot::ltl::parse_boolean(*$1, pel, *res.env,
|
||||
debug_level(), true);
|
||||
auto f = spot::ltl::parse_infix_boolean(*$1, pel, *res.env,
|
||||
debug_level(), true);
|
||||
for (auto& j: pel)
|
||||
{
|
||||
// Adjust the diagnostic to the current position.
|
||||
|
|
@ -1391,7 +1391,7 @@ lbtt-acc: { $$ = 0U; }
|
|||
lbtt-guard: STRING
|
||||
{
|
||||
spot::ltl::parse_error_list pel;
|
||||
auto* f = spot::ltl::parse_lbt(*$1, pel, *res.env);
|
||||
auto* f = spot::ltl::parse_prefix_ltl(*$1, pel, *res.env);
|
||||
if (!f || !pel.empty())
|
||||
{
|
||||
std::string s = "failed to parse guard: ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue