summaryrefslogtreecommitdiff
path: root/src/printer
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer')
-rw-r--r--src/printer/ast/ast_printer.cpp2
-rw-r--r--src/printer/cvc/cvc_printer.cpp4
-rw-r--r--src/printer/smt2/smt2_printer.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/printer/ast/ast_printer.cpp b/src/printer/ast/ast_printer.cpp
index 4ae66f510..34bf0bb6d 100644
--- a/src/printer/ast/ast_printer.cpp
+++ b/src/printer/ast/ast_printer.cpp
@@ -208,7 +208,7 @@ static void toStream(std::ostream& out, const PopCommand* c) throw() {
}
static void toStream(std::ostream& out, const CheckSatCommand* c) throw() {
- BoolExpr e = c->getExpr();
+ Expr e = c->getExpr();
if(e.isNull()) {
out << "CheckSat()";
} else {
diff --git a/src/printer/cvc/cvc_printer.cpp b/src/printer/cvc/cvc_printer.cpp
index 56d9a20b0..5d2ffb9db 100644
--- a/src/printer/cvc/cvc_printer.cpp
+++ b/src/printer/cvc/cvc_printer.cpp
@@ -821,7 +821,7 @@ static void toStream(std::ostream& out, const PopCommand* c) throw() {
}
static void toStream(std::ostream& out, const CheckSatCommand* c) throw() {
- BoolExpr e = c->getExpr();
+ Expr e = c->getExpr();
if(!e.isNull()) {
out << "CHECKSAT " << e << ";";
} else {
@@ -830,7 +830,7 @@ static void toStream(std::ostream& out, const CheckSatCommand* c) throw() {
}
static void toStream(std::ostream& out, const QueryCommand* c) throw() {
- BoolExpr e = c->getExpr();
+ Expr e = c->getExpr();
if(!e.isNull()) {
out << "QUERY " << e << ";";
} else {
diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp
index 5d9a13786..31754cb3a 100644
--- a/src/printer/smt2/smt2_printer.cpp
+++ b/src/printer/smt2/smt2_printer.cpp
@@ -615,7 +615,7 @@ static void toStream(std::ostream& out, const PopCommand* c) throw() {
}
static void toStream(std::ostream& out, const CheckSatCommand* c) throw() {
- BoolExpr e = c->getExpr();
+ Expr e = c->getExpr();
if(!e.isNull()) {
out << PushCommand() << endl
<< AssertCommand(e) << endl
@@ -627,7 +627,7 @@ static void toStream(std::ostream& out, const CheckSatCommand* c) throw() {
}
static void toStream(std::ostream& out, const QueryCommand* c) throw() {
- BoolExpr e = c->getExpr();
+ Expr e = c->getExpr();
if(!e.isNull()) {
out << PushCommand() << endl
<< AssertCommand(BooleanSimplification::negate(e)) << endl
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback