feat(frontends/lean/pp): add check_system at pretty printer
This commit is contained in:
parent
a3c3a94a51
commit
bdef7aaf40
1 changed files with 1 additions and 0 deletions
|
@ -1136,6 +1136,7 @@ static bool is_pp_atomic(expr const & e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto pretty_fn::pp(expr const & e, bool ignore_hide) -> result {
|
auto pretty_fn::pp(expr const & e, bool ignore_hide) -> result {
|
||||||
|
check_system("pretty printer");
|
||||||
if ((m_depth >= m_max_depth ||
|
if ((m_depth >= m_max_depth ||
|
||||||
m_num_steps > m_max_steps ||
|
m_num_steps > m_max_steps ||
|
||||||
(m_hide_full_terms && !ignore_hide && !has_expr_metavar_relaxed(e))) &&
|
(m_hide_full_terms && !ignore_hide && !has_expr_metavar_relaxed(e))) &&
|
||||||
|
|
Loading…
Reference in a new issue