bin: introduce a non-binary job_type
This will later help improve the handling of different input types of ltlsynt. * bin/common_finput.hh (job_type): New enum. (job::type): Use it. * bin/autcross.cc, bin/autfilt.cc, bin/common_finput.cc, bin/dstar2tgba.cc, bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc, bin/ltldo.cc, bin/ltlfilt.cc, bin/ltlgrind.cc, bin/ltlsynt.cc: Adjust to use the job_type enum instead of a boolean.
This commit is contained in:
parent
3b809c0a14
commit
d697f57a97
12 changed files with 54 additions and 44 deletions
|
|
@ -776,7 +776,7 @@ main(int argc, char **argv)
|
|||
static char arg4[] = "fully";
|
||||
char* command[] = { arg0, arg1, arg2, arg3, arg4, opt_tlsf, nullptr };
|
||||
opt_tlsf_string = read_stdout_of_command(command);
|
||||
jobs.emplace_back(opt_tlsf_string.c_str(), false);
|
||||
jobs.emplace_back(opt_tlsf_string.c_str(), job_type::LTL_STRING);
|
||||
|
||||
if (!all_input_aps.has_value() && !all_output_aps.has_value())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue