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:
parent
2d83d49341
commit
5eebbc7bda
2 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue