diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-07-17 22:07:59 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-07-17 22:07:59 +0000 |
commit | 4923b53ad705acc04348da693f03f83f8d9853db (patch) | |
tree | b557cb22ce1f21bcbcca9d6ebdcbf205e5537b58 /src/expr | |
parent | 2b83291d229c957e2becf7397d186040959602df (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')
-rw-r--r-- | src/expr/command.cpp | 2 |
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); |