fix(frontends/lean/definition_cmds): empty set of equations
This commit is contained in:
parent
9ad64e9176
commit
f4fd0ca775
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ expr_pair parse_definition(parser & p, buffer<name> & lp_names, buffer<expr> & p
|
|||
if (p.curr_is_token(get_assign_tk())) {
|
||||
p.next();
|
||||
val = p.parse_expr();
|
||||
} else if (p.curr_is_token(get_bar_tk())) {
|
||||
} else if (p.curr_is_token(get_bar_tk()) || p.curr_is_token(get_none_tk())) {
|
||||
p.add_local(fn);
|
||||
buffer<expr> eqns;
|
||||
if (p.curr_is_token(get_none_tk())) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue