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) {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue