fix(frontends/lean): include position information
This commit is contained in:
parent
76fb6893e1
commit
6362610411
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ static environment definition_cmd_core(parser & p, def_cmd_kind kind, bool is_op
|
|||
type = p.parse_expr();
|
||||
if (!is_definition && !p.curr_is_token(get_assign_tk())) {
|
||||
check_end_of_theorem(p);
|
||||
value = mk_expr_placeholder();
|
||||
value = p.save_pos(mk_expr_placeholder(), pos);
|
||||
} else {
|
||||
p.check_token_next(get_assign_tk(), "invalid declaration, ':=' expected");
|
||||
value = p.save_pos(p.parse_expr(), pos);
|
||||
|
|
Loading…
Reference in a new issue