--- a/src/Pure/Syntax/mixfix.ML Fri Jun 19 11:20:36 1998 +0200
+++ b/src/Pure/Syntax/mixfix.ML Sat Jun 20 19:52:53 1998 +0200
@@ -25,6 +25,7 @@
val no_syn: 'a * 'b -> 'a * 'b * mixfix
val type_name: string -> mixfix -> string
val const_name: string -> mixfix -> string
+ val fix_mixfix: string -> mixfix -> mixfix
val mixfix_args: mixfix -> int
val pure_nonterms: string list
val pure_syntax: (string * string * mixfix) list
@@ -85,6 +86,10 @@
| const_name c (Infixr _) = "op " ^ strip_esc c
| const_name c _ = c;
+fun fix_mixfix c (Infixl p) = (InfixlName (c, p))
+ | fix_mixfix c (Infixr p) = (InfixrName (c, p))
+ | fix_mixfix _ mx = mx;
+
(* mixfix_args *)