chore: prepare to remove underscore hack
This commit is contained in:
parent
9010e5c276
commit
9c331c92d8
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ def underscoreFn : ParserFn := fun c s =>
|
|||
@[combinatorParenthesizer Lean.Parser.Tactic.underscore] def underscore.parenthesizer := PrettyPrinter.Parenthesizer.rawIdent.parenthesizer
|
||||
@[combinatorFormatter Lean.Parser.Tactic.underscore] def underscore.formatter := PrettyPrinter.Formatter.rawIdent.formatter
|
||||
|
||||
def ident' : Parser := ident <|> underscore
|
||||
def ident' : Parser := ident <|> (checkInsideQuot >> Term.hole) <|> (checkOutsideQuot >> underscore)
|
||||
|
||||
@[builtinTacticParser] def «intro» := parser! nonReservedSymbol "intro " >> notSymbol "|" >> many (checkColGt >> termParser maxPrec)
|
||||
@[builtinTacticParser] def «intros» := parser! nonReservedSymbol "intros " >> many (checkColGt >> ident')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue