3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-09-23 10:40:52 -07:00
parent 64d4e599c1
commit 2dd9ea071d

View file

@ -1951,7 +1951,7 @@ namespace smt2 {
// the resultant expression is on the top of the stack // the resultant expression is on the top of the stack
TRACE("let_frame", tout << "let result expr: " << mk_pp(expr_stack().back(), m()) << "\n";); TRACE("let_frame", tout << "let result expr: " << mk_pp(expr_stack().back(), m()) << "\n";);
expr_ref r(m()); expr_ref r(m());
if (expr_stack().empty()) if (expr_stack().size() < fr->m_expr_spos + 1)
throw parser_exception("invalid let expression"); throw parser_exception("invalid let expression");
r = expr_stack().back(); r = expr_stack().back();
expr_stack().pop_back(); expr_stack().pop_back();