summaryrefslogtreecommitdiff
path: root/src/parser
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-07-17 20:34:34 +0000
committerMorgan Deters <mdeters@gmail.com>2012-07-17 20:34:34 +0000
commit159a9a457761d47077bf45e82daedf7e6883f3fc (patch)
tree5de3b7d755f2ed627fa9acec5b3895da03c31f08 /src/parser
parent1f8da4ffd0887a095994392087d76f376ac006d2 (diff)
fix an obvious oversight: "distinct" wasn't part of the SMT2 core theory---but this only gave trouble in strict parsing mode
Diffstat (limited to 'src/parser')
-rw-r--r--src/parser/smt2/smt2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser/smt2/smt2.cpp b/src/parser/smt2/smt2.cpp
index 549878e46..6fe55e50e 100644
--- a/src/parser/smt2/smt2.cpp
+++ b/src/parser/smt2/smt2.cpp
@@ -52,6 +52,7 @@ void Smt2::addTheory(Theory theory) {
defineVar("true", getExprManager()->mkConst(true));
defineVar("false", getExprManager()->mkConst(false));
addOperator(kind::AND);
+ addOperator(kind::DISTINCT);
addOperator(kind::EQUAL);
addOperator(kind::IFF);
addOperator(kind::IMPLIES);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback