fix(frontends/lean/parser): option propagation

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-10-24 19:04:06 -07:00
parent 576b4e2169
commit 65a514ad8a

View file

@ -1538,7 +1538,7 @@ class parser::imp {
formatter fmt = m_frontend.get_state().get_formatter();
options opts = m_frontend.get_state().get_options();
lean_pos_info_provider pos_provider(*this);
regular(m_frontend) << ex.get_justification().pp(fmt, opts, &pos_provider, true) << endl;
regular(m_frontend) << mk_pair(ex.get_justification().pp(fmt, opts, &pos_provider, true), opts) << endl;
}
void updt_options() {