3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-10-10 14:57:39 -07:00
parent d4a5873dc8
commit 11fee1c8d0
2 changed files with 24 additions and 12 deletions

View file

@ -36,7 +36,7 @@ Revision History:
#include"gparams.h"
#include"env_params.h"
typedef enum { IN_UNSPECIFIED, IN_SMTLIB, IN_SMTLIB_2, IN_DATALOG, IN_DIMACS, IN_WCNF, IN_PBO, IN_Z3_LOG } input_kind;
typedef enum { IN_UNSPECIFIED, IN_SMTLIB, IN_SMTLIB_2, IN_DATALOG, IN_DIMACS, IN_WCNF, IN_OPB, IN_Z3_LOG } input_kind;
std::string g_aux_input_file;
char const * g_input_file = 0;
@ -173,7 +173,7 @@ void parse_cmd_line_args(int argc, char ** argv) {
g_input_kind = IN_WCNF;
}
else if (strcmp(opt_name, "bpo") == 0) {
g_input_kind = IN_PBO;
g_input_kind = IN_OPB;
}
else if (strcmp(opt_name, "log") == 0) {
g_input_kind = IN_Z3_LOG;
@ -316,8 +316,8 @@ int main(int argc, char ** argv) {
else if (strcmp(ext, "wcnf") == 0) {
g_input_kind = IN_WCNF;
}
else if (strcmp(ext, "pbo") == 0) {
g_input_kind = IN_PBO;
else if (strcmp(ext, "opb") == 0) {
g_input_kind = IN_OPB;
}
else if (strcmp(ext, "log") == 0) {
g_input_kind = IN_Z3_LOG;
@ -344,7 +344,7 @@ int main(int argc, char ** argv) {
case IN_WCNF:
return_value = parse_opt(g_input_file, true);
break;
case IN_PBO:
case IN_OPB:
return_value = parse_opt(g_input_file, false);
break;
case IN_DATALOG: