summaryrefslogtreecommitdiff
path: root/src/expr/command.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-07-17 22:07:59 +0000
committerMorgan Deters <mdeters@gmail.com>2012-07-17 22:07:59 +0000
commit4923b53ad705acc04348da693f03f83f8d9853db (patch)
treeb557cb22ce1f21bcbcca9d6ebdcbf205e5537b58 /src/expr/command.cpp
parent2b83291d229c957e2becf7397d186040959602df (diff)
SMT-LIBv2 compliance updates:
* more correct support for get-info responses * printer infrastructure extended to SExprs * parser updates to correctly handle symbols and strings (there were some minor differences from the spec)
Diffstat (limited to 'src/expr/command.cpp')
-rw-r--r--src/expr/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/command.cpp b/src/expr/command.cpp
index 5b889712d..f48e07887 100644
--- a/src/expr/command.cpp
+++ b/src/expr/command.cpp
@@ -991,7 +991,7 @@ std::string GetInfoCommand::getFlag() const throw() {
void GetInfoCommand::invoke(SmtEngine* smtEngine) throw() {
try {
vector<SExpr> v;
- v.push_back(SExpr(d_flag));
+ v.push_back(SExpr(SExpr::Keyword(string(":") + d_flag)));
v.push_back(smtEngine->getInfo(d_flag));
stringstream ss;
ss << SExpr(v);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback