chore: where struct instance parser
The parser was modified to fix issue https://github.com/leanprover/lean4/issues/753 cc @tydeu
This commit is contained in:
parent
56bae17924
commit
99bd215dcb
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ syntax packageDeclTyped :=
|
|||
Term.typeSpec declValSimple
|
||||
|
||||
syntax packageDeclSpec :=
|
||||
ident (Term.whereDecls <|> packageDeclTyped <|> packageDeclWithBinders)?
|
||||
ident (Command.whereStructInst <|> packageDeclTyped <|> packageDeclWithBinders)?
|
||||
|
||||
scoped syntax (name := packageDecl)
|
||||
(docComment)? "package " packageDeclSpec : command
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue