fix(frontends/lean/pp): extra space

This commit is contained in:
Leonardo de Moura 2015-03-31 15:07:32 -07:00
parent 26c914173c
commit 4eb270a572

View file

@ -1040,7 +1040,8 @@ auto pretty_fn::pp_notation(notation_entry const & entry, buffer<optional<expr>>
curr = curr + space(); curr = curr + space();
fmt = curr + fmt; fmt = curr + fmt;
} }
extra_space = add_extra_space(tk); if (m_extra_spaces || !last_is_skip)
extra_space = add_extra_space(tk);
} }
unsigned first_lbp = inf_bp(); unsigned first_lbp = inf_bp();
if (!entry.is_nud()) { if (!entry.is_nud()) {