chore: remove unnecessary attributes

If one day we add elaboration functions for level and syntax, then we
can add them back.
This commit is contained in:
Leonardo de Moura 2020-01-14 14:34:30 -08:00
parent 2d83d49341
commit 5eebbc7bda
2 changed files with 0 additions and 6 deletions

View file

@ -12,9 +12,6 @@ namespace Parser
@[init] def regBuiltinLevelParserAttr : IO Unit :=
registerBuiltinParserAttribute `builtinLevelParser `level
@[init] def regLevelParserAttribute : IO Unit :=
registerBuiltinDynamicParserAttribute `levelParser `level
@[inline] def levelParser {k : ParserKind} (rbp : Nat := 0) : Parser k :=
categoryParser `level rbp

View file

@ -13,9 +13,6 @@ namespace Parser
let leadingIdentAsSymbol := true;
registerBuiltinParserAttribute `builtinSyntaxParser `syntax leadingIdentAsSymbol
@[init] def regSyntaxParserAttribute : IO Unit :=
registerBuiltinDynamicParserAttribute `syntaxParser `syntax
@[inline] def syntaxParser {k : ParserKind} (rbp : Nat := 0) : Parser k :=
categoryParser `syntax rbp