Attach elaborator the lean default parser

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-08-30 13:25:30 -07:00
parent 45d89ace65
commit 1e370023b1

View file

@ -962,9 +962,9 @@ class parser::imp {
expr elaborate(expr const & e) { expr elaborate(expr const & e) {
if (has_metavar(e)) { if (has_metavar(e)) {
// TODO fix expr r = m_elaborator(e);
regular(m_frontend) << e << endl; m_elaborator.clear();
throw parser_error("expression contains metavariables... not implemented yet.", m_last_cmd_pos); return r;
} else { } else {
return e; return e;
} }