3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-02 21:37:02 +00:00

addressing misc. string bugs

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-08-24 15:40:15 +01:00
parent a337a51374
commit 0d9cd7bc2b
6 changed files with 120 additions and 103 deletions

View file

@ -2642,6 +2642,11 @@ namespace smt2 {
check_rparen("invalid get-value command, ')' expected");
model_ref md;
if (m_ctx.ignore_check()) {
expr_stack().shrink(spos);
next();
return;
}
if (!m_ctx.is_model_available(md) || m_ctx.get_check_sat_result() == nullptr)
throw cmd_exception("model is not available");
if (index != 0) {