diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2015-08-21 03:02:32 -0400 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2015-08-21 03:02:32 -0400 |
commit | d0072ab29c7e9213ca6773b89e393f381bca0126 (patch) | |
tree | 9769ecc0abccfd5ded616a30039b757a55dc8761 /src/main | |
parent | ca72dd6bc0fdc63391b568e4cbcf289300e295dc (diff) |
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).
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |