mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
parent
64d4e599c1
commit
2dd9ea071d
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue