chore: make it clear how it is being parsed

We are planning to change the `<|>` precedence here.
This commit is contained in:
Leonardo de Moura 2021-09-16 13:41:01 -07:00
parent d65871241d
commit a823ebdbe0

View file

@ -324,7 +324,7 @@ syntax config := atomic("(" &"config") " := " term ")"
syntax locationWildcard := "*"
syntax locationHyp := (colGt ident)+ ("⊢" <|> "|-")? -- TODO: delete
syntax locationTargets := (colGt ident)+ ("⊢" <|> "|-")?
syntax location := withPosition(" at " locationWildcard <|> locationHyp)
syntax location := withPosition(" at " (locationWildcard <|> locationHyp))
syntax (name := change) "change " term (location)? : tactic
syntax (name := changeWith) "change " term " with " term (location)? : tactic