fix(frontends/lean/util): remove reference to obsolete match syntax

This commit is contained in:
Sebastian Ullrich 2018-08-02 14:16:25 -07:00
parent f52395140a
commit e535ebcce8

View file

@ -88,8 +88,8 @@ name remove_root_prefix(name const & n) {
return n.replace_prefix(get_root_tk(), name());
}
bool is_eqn_prefix(parser & p, bool bar_only = false) {
return p.curr_is_token(get_bar_tk()) || (!bar_only && p.curr_is_token(get_comma_tk()));
bool is_eqn_prefix(parser & p, bool) {
return p.curr_is_token(get_bar_tk());
}
// Return the local levels in \c ls that are not associated with variables