diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-09 09:49:35 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-09 09:49:35 +0000 |
commit | 0131e18b811bdf2825a1cde5a6d68d523b19aacc (patch) | |
tree | 9c4dcb4c1bf355b943926a5df85d3c3446750878 /src/expr/command.cpp | |
parent | ec86769172d29ff7f5ed959866ecef339264552b (diff) |
support for SMT-LIBv2 :named attributes, and attributes in general; zero-ary define-fun; several set-info, set-option, get-option, get-info improvementss
Diffstat (limited to 'src/expr/command.cpp')
-rw-r--r-- | src/expr/command.cpp | 4 |
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"; } |