Better array-store-all output for SMT-LIB.
authorMorgan Deters <mdeters@cs.nyu.edu>
Mon, 10 Jun 2013 02:40:23 +0000 (22:40 -0400)
committerMorgan Deters <mdeters@cs.nyu.edu>
Mon, 10 Jun 2013 02:40:23 +0000 (22:40 -0400)
src/printer/smt2/smt2_printer.cpp

index fc2574036a3be1d490c38e838152134daa54eba6..d9717f9b70247b248fe94390c41371742e96c2db 100644 (file)
@@ -255,6 +255,7 @@ void Smt2Printer::toStream(std::ostream& out, TNode n,
     // arrays theory
   case kind::SELECT:
   case kind::STORE:
+  case kind::STORE_ALL:
   case kind::ARRAY_TYPE: out << smtKindString(k) << " "; break;
 
     // bv theory
@@ -440,6 +441,7 @@ 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