chore: rwRuleSeq ; => ,

This commit is contained in:
Leonardo de Moura 2020-09-17 07:05:38 -07:00
parent 26ed304071
commit 9d1f2b644f

View file

@ -56,7 +56,7 @@ def location := parser! "at " >> (locationWildcard <|> locationTarget <|
@[builtinTacticParser] def changeWith := parser! nonReservedSymbol "change " >> termParser >> " with " >> termParser >> optional location
def rwRule := parser! optional (unicodeSymbol "←" "<-") >> termParser
def rwRuleSeq := parser! "[" >> sepBy1 rwRule "; " true >> "]"
def rwRuleSeq := parser! "[" >> sepBy1 rwRule ", " true >> "]"
@[builtinTacticParser] def «rewrite» := parser! (nonReservedSymbol "rewrite" <|> nonReservedSymbol "rw") >> rwRule >> optional location
@[builtinTacticParser] def «rewriteSeq» := parser! (nonReservedSymbol "rewrite" <|> nonReservedSymbol "rw") >> rwRuleSeq >> optional location