diff options
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/cvc3_compat.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/compat/cvc3_compat.cpp b/src/compat/cvc3_compat.cpp index 51b0c6083..08146760f 100644 --- a/src/compat/cvc3_compat.cpp +++ b/src/compat/cvc3_compat.cpp @@ -2468,7 +2468,12 @@ Context* ValidityChecker::getCurrentContext() { } void ValidityChecker::reset() { - Unimplemented("This CVC3 compatibility function not yet implemented (sorry!)"); + // reset everything, forget everything + d_smt->reset(); + delete d_parserContext; + d_parserContext = CVC4::parser::ParserBuilder(d_em, "<internal>").withInputLanguage(CVC4::language::input::LANG_CVC4).withStringInput("").build(); + s_typeToExpr.clear(); + s_exprToType.clear(); } void ValidityChecker::logAnnotation(const Expr& annot) { |