Change "ne" to "neq" in btor2 output
authorClifford Wolf <clifford@clifford.at>
Fri, 19 Apr 2019 19:17:12 +0000 (21:17 +0200)
committerClifford Wolf <clifford@clifford.at>
Fri, 19 Apr 2019 19:17:12 +0000 (21:17 +0200)
we need to do this because they changed the parser:
https://github.com/Boolector/btor2tools/commit/e97fc9cedabadeec4f621de22096e514f862c690

Signed-off-by: Clifford Wolf <clifford@clifford.at>
backends/btor/btor.cc

index 55c494996463c0bc14118f29a9de80af1d4dde81..91f238fa5eb31e9bc78b18b747294992e3b6a1a7 100644 (file)
@@ -340,7 +340,7 @@ struct BtorWorker
                        if (cell->type == "$lt") btor_op = "lt";
                        if (cell->type == "$le") btor_op = "lte";
                        if (cell->type.in("$eq", "$eqx")) btor_op = "eq";
-                       if (cell->type.in("$ne", "$nex")) btor_op = "ne";
+                       if (cell->type.in("$ne", "$nex")) btor_op = "neq";
                        if (cell->type == "$ge") btor_op = "gte";
                        if (cell->type == "$gt") btor_op = "gt";
                        log_assert(!btor_op.empty());