src/Pure/Syntax/mixfix.ML
changeset 68271 77f6fa78b6e1
parent 67398 5eb932e604a2
child 68273 53788963c4dc
--- a/src/Pure/Syntax/mixfix.ML	Thu May 24 22:28:26 2018 +0200
+++ b/src/Pure/Syntax/mixfix.ML	Fri May 25 13:47:58 2018 +0200
@@ -100,7 +100,7 @@
       parens (Pretty.breaks [quoted s, brackets (Pretty.commas (map int ps)), int p])
   | pretty_mixfix (Infix (s, p, _)) = parens (Pretty.breaks [keyword "infix", quoted s, int p])
   | pretty_mixfix (Infixl (s, p, _)) = parens (Pretty.breaks [keyword "infixl", quoted s, int p])
-  | pretty_mixfix (Infixr (s, p, _)) = parens (Pretty.breaks [keyword "infixl", quoted s, int p])
+  | pretty_mixfix (Infixr (s, p, _)) = parens (Pretty.breaks [keyword "infixr", quoted s, int p])
   | pretty_mixfix (Binder (s, p1, p2, _)) =
       parens (Pretty.breaks [keyword "binder", quoted s, brackets [int p1], int p2])
   | pretty_mixfix (Structure _) = parens [keyword "structure"];