Attach elaborator the lean default parser
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
45d89ace65
commit
1e370023b1
1 changed files with 3 additions and 3 deletions
|
@ -962,9 +962,9 @@ class parser::imp {
|
|||
|
||||
expr elaborate(expr const & e) {
|
||||
if (has_metavar(e)) {
|
||||
// TODO fix
|
||||
regular(m_frontend) << e << endl;
|
||||
throw parser_error("expression contains metavariables... not implemented yet.", m_last_cmd_pos);
|
||||
expr r = m_elaborator(e);
|
||||
m_elaborator.clear();
|
||||
return r;
|
||||
} else {
|
||||
return e;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue