diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-10-15 15:57:03 +0200 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-10-15 15:57:03 +0200 |
commit | 614080814375998f494adc839484f455b31a5f43 (patch) | |
tree | cbbb71338e2bc4372862124d97cc7a9a5bac8726 /src/printer | |
parent | f4420f2a1f82ee4a2f86d6d4318286d21520e280 (diff) |
Change semantics of str.substr to allow endpoint out of bounds, and return empty string for error conditions. Improve rewriter for str.substr.
Diffstat (limited to 'src/printer')
-rw-r--r-- | src/printer/smt2/smt2_printer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp index 822818c43..b9b309d4a 100644 --- a/src/printer/smt2/smt2_printer.cpp +++ b/src/printer/smt2/smt2_printer.cpp @@ -421,7 +421,6 @@ void Smt2Printer::toStream(std::ostream& out, TNode n, break; } case kind::STRING_LENGTH: out << (d_variant == z3str_variant ? "Length " : "str.len "); break; - case kind::STRING_SUBSTR_TOTAL: case kind::STRING_SUBSTR: out << "str.substr "; break; case kind::STRING_CHARAT: out << "str.at "; break; case kind::STRING_STRCTN: out << "str.contains "; break; |