void CvcPrinter::toStream(std::ostream& out, const CommandStatus* s) const
{
- if(tryToStream<CommandSuccess>(out, s, d_cvc3Mode) ||
- tryToStream<CommandFailure>(out, s, d_cvc3Mode) ||
- tryToStream<CommandUnsupported>(out, s, d_cvc3Mode) ||
- tryToStream<CommandInterrupted>(out, s, d_cvc3Mode)) {
+ if (tryToStream<CommandSuccess>(out, s, d_cvc3Mode)
+ || tryToStream<CommandFailure>(out, s, d_cvc3Mode)
+ || tryToStream<CommandRecoverableFailure>(out, s, d_cvc3Mode)
+ || tryToStream<CommandUnsupported>(out, s, d_cvc3Mode)
+ || tryToStream<CommandInterrupted>(out, s, d_cvc3Mode))
+ {
return;
}
out << s->getMessage() << endl;
}
+static void toStream(std::ostream& out,
+ const CommandRecoverableFailure* s,
+ bool cvc3Mode)
+{
+ out << s->getMessage() << endl;
+}
+
template <class T>
static bool tryToStream(std::ostream& out,
const CommandStatus* s,
regress0/cvc3.userdoc.04.cvc
regress0/cvc3.userdoc.05.cvc
regress0/cvc3.userdoc.06.cvc
+ regress0/cvc-rerror-print.cvc
regress0/datatypes/Test1-tup-mp.cvc
regress0/datatypes/boolean-equality.cvc
regress0/datatypes/boolean-terms-datatype.cvc