summaryrefslogtreecommitdiff
path: root/src/expr/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/command.cpp')
-rw-r--r--src/expr/command.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expr/command.cpp b/src/expr/command.cpp
index 8c90f337e..15fea22da 100644
--- a/src/expr/command.cpp
+++ b/src/expr/command.cpp
@@ -352,7 +352,9 @@ GetInfoCommand::GetInfoCommand(std::string flag) :
void GetInfoCommand::invoke(SmtEngine* smtEngine) {
try {
- d_result = smtEngine->getInfo(d_flag).getValue();
+ stringstream ss;
+ ss << smtEngine->getInfo(d_flag);
+ d_result = ss.str();
} catch(BadOptionException& bo) {
d_result = "unsupported";
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback