chore: prepare to move ParserKind
This commit is contained in:
parent
b439de68a5
commit
a1f079227b
1 changed files with 1 additions and 1 deletions
|
|
@ -1461,7 +1461,7 @@ registerAttribute {
|
|||
match decl.type with
|
||||
| Expr.const `Lean.Parser.TrailingParser _ _ =>
|
||||
declareTrailingBuiltinParser env refDeclName declName
|
||||
| Expr.app (Expr.const `Lean.Parser.Parser _ _) (Expr.const `Lean.Parser.ParserKind.leading _ _) _ =>
|
||||
| Expr.app (Expr.const `Lean.Parser.Parser _ _) (Expr.const `Lean.ParserKind.leading _ _) _ =>
|
||||
declareLeadingBuiltinParser env refDeclName declName
|
||||
| _ =>
|
||||
throw (IO.userError ("unexpected parser type at '" ++ toString declName ++ "' (`Parser` or `TrailingParser` expected"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue