diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-07-17 20:34:34 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-07-17 20:34:34 +0000 |
commit | 159a9a457761d47077bf45e82daedf7e6883f3fc (patch) | |
tree | 5de3b7d755f2ed627fa9acec5b3895da03c31f08 /src | |
parent | 1f8da4ffd0887a095994392087d76f376ac006d2 (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')
-rw-r--r-- | src/parser/smt2/smt2.cpp | 1 |
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); |