projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6970ed0
)
Print array constants in SMT-LIB models with new syntax.
author
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 6 Oct 2014 18:48:14 +0000
(14:48 -0400)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 6 Oct 2014 18:48:14 +0000
(14:48 -0400)
src/printer/smt2/smt2_printer.cpp
patch
|
blob
|
history
diff --git
a/src/printer/smt2/smt2_printer.cpp
b/src/printer/smt2/smt2_printer.cpp
index b415c6b19307b3b6a3732bd084ebf3a172a5a2b2..5dc5cb7ee99c1f937f5031981532c0e89cb99887 100644
(file)
--- a/
src/printer/smt2/smt2_printer.cpp
+++ b/
src/printer/smt2/smt2_printer.cpp
@@
-194,7
+194,7
@@
void Smt2Printer::toStream(std::ostream& out, TNode n,
case kind::STORE_ALL: {
ArrayStoreAll asa = n.getConst<ArrayStoreAll>();
- out << "(
__array_store_all__ " << asa.getType() << "
" << asa.getExpr() << ")";
+ out << "(
(as const " << asa.getType() << ")
" << asa.getExpr() << ")";
break;
}
@@
-588,7
+588,6
@@
static string smtKindString(Kind k) throw() {
// arrays theory
case kind::SELECT: return "select";
case kind::STORE: return "store";
- case kind::STORE_ALL: return "__array_store_all__";
case kind::ARRAY_TYPE: return "Array";
// bv theory