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