fix(library/init/lean/parser/declaration): precedence for attribute arguments
This commit is contained in:
parent
8a3e7821d7
commit
188ab30a9c
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ instance doc_comment.tokens : has_tokens doc_comment.parser :=
|
|||
@[derive has_tokens has_view]
|
||||
def attr_instance.parser : command_parser :=
|
||||
-- use `raw_ident` because of attribute names such as `instance`
|
||||
node! attr_instance [name: raw_ident.parser, args: term.parser*]
|
||||
node! attr_instance [name: raw_ident.parser, args: (term.parser max_prec)*]
|
||||
|
||||
@[derive has_tokens has_view]
|
||||
def decl_attributes.parser : command_parser :=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue