tgbaparse, lbttparse: do not pass an environment for acceptance sets
* src/priv/accmap.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh, src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy, src/tgbatest/ltl2tgba.cc, src/tgbatest/tgbaread.cc: Do not pass any environment parameter to parse acceptance sets. This is not used anymore since we moved to int-labeled acceptance sets.
This commit is contained in:
parent
be57ec290a
commit
e4158c21ee
7 changed files with 22 additions and 59 deletions
|
|
@ -633,7 +633,7 @@ checked_main(int argc, char** argv)
|
|||
spot::tgba_parse_error_list pel;
|
||||
spot::tgba_digraph_ptr s;
|
||||
s = spot::tgba_parse(argv[formula_index] + 2,
|
||||
pel, dict, env, env, debug_opt);
|
||||
pel, dict, env, debug_opt);
|
||||
if (spot::format_tgba_parse_errors(std::cerr,
|
||||
argv[formula_index] + 2, pel))
|
||||
return 2;
|
||||
|
|
@ -1021,8 +1021,7 @@ checked_main(int argc, char** argv)
|
|||
spot::tgba_digraph_ptr e;
|
||||
spot::tgba_parse_error_list pel;
|
||||
tm.start("parsing automaton");
|
||||
a = e = spot::tgba_parse(input, pel, dict,
|
||||
env, env, debug_opt);
|
||||
a = e = spot::tgba_parse(input, pel, dict, env, debug_opt);
|
||||
tm.stop("parsing automaton");
|
||||
if (spot::format_tgba_parse_errors(std::cerr, input, pel))
|
||||
return 2;
|
||||
|
|
@ -1044,7 +1043,7 @@ checked_main(int argc, char** argv)
|
|||
}
|
||||
}
|
||||
tm.start("parsing lbtt");
|
||||
a = spot::lbtt_parse(*in, error, dict, env, env);
|
||||
a = spot::lbtt_parse(*in, error, dict, env);
|
||||
tm.stop("parsing lbtt");
|
||||
delete f;
|
||||
if (!a)
|
||||
|
|
|
|||
|
|
@ -57,8 +57,7 @@ main(int argc, char** argv)
|
|||
|
||||
spot::ltl::environment& env(spot::ltl::default_environment::instance());
|
||||
spot::tgba_parse_error_list pel;
|
||||
auto a = spot::tgba_parse(argv[filename_index],
|
||||
pel, dict, env, env, debug);
|
||||
auto a = spot::tgba_parse(argv[filename_index], pel, dict, env, debug);
|
||||
|
||||
if (spot::format_tgba_parse_errors(std::cerr, argv[filename_index], pel))
|
||||
return 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue