chore(library/init/lean/elaborator/command): ignore Lean3 notation commands

This commit is contained in:
Leonardo de Moura 2019-07-22 15:16:17 -07:00
parent 231c01bf9f
commit b098cc69ea

View file

@ -57,5 +57,10 @@ fun n => do
| none => unless (checkAnonymousScope scopes) $ throw "invalid 'end', name is missing"
| some header => unless (checkEndHeader header scopes) $ throw "invalid 'end', name mismatch"
/- We just ignore Lean3 notation declaration commands. -/
@[builtinCommandElab «mixfix»] def elabMixfix : CommandElab := fun _ => pure ()
@[builtinCommandElab «reserve»] def elabReserve : CommandElab := fun _ => pure ()
@[builtinCommandElab «notation»] def elabNotation : CommandElab := fun _ => pure ()
end Elab
end Lean