From d0072ab29c7e9213ca6773b89e393f381bca0126 Mon Sep 17 00:00:00 2001 From: Kshitij Bansal Date: Fri, 21 Aug 2015 03:02:32 -0400 Subject: [PATCH] Fix bug 649 (errors to regular output channel) From SMTLIB standard: "Regular output, including error messages, is printed on the regular output channel..." For CVC language, the behavior is unchanged (i.e. errors go to stderr by default). --- src/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.cpp b/src/main/main.cpp index a70c3c7c3..1c825bc35 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -67,7 +67,7 @@ int main(int argc, char* argv[]) { #endif if(opts[options::outputLanguage] == output::LANG_SMTLIB_V2_0 || opts[options::outputLanguage] == output::LANG_SMTLIB_V2_5) { - *opts[options::err] << "(error \"" << e << "\")" << endl; + *opts[options::out] << "(error \"" << e << "\")" << endl; } else { *opts[options::err] << "CVC4 Error:" << endl << e << endl; } -- 2.30.2