# HG changeset patch # User wenzelm # Date 1301230907 -7200 # Node ID e10e2cce85c8f06cfa40e37ba3f3819c6ee52d66 # Parent c17508a61f49061a63091dc620c00e4433c8f74c removed unclear comments stemming from ed24ba6f69aa; diff -r c17508a61f49 -r e10e2cce85c8 src/Pure/Syntax/mixfix.ML --- a/src/Pure/Syntax/mixfix.ML Sat Mar 26 21:45:29 2011 +0100 +++ b/src/Pure/Syntax/mixfix.ML Sun Mar 27 15:01:47 2011 +0200 @@ -109,7 +109,7 @@ | mfix_of (t, ty, Infix (sy, p)) = SOME (mk_infix sy ty t (p + 1) (p + 1) p) | mfix_of (t, ty, Infixl (sy, p)) = SOME (mk_infix sy ty t p (p + 1) p) | mfix_of (t, ty, Infixr (sy, p)) = SOME (mk_infix sy ty t (p + 1) p p) - | mfix_of (t, _, _) = error ("Bad mixfix declaration for " ^ quote t); (* FIXME printable t (!?) *) + | mfix_of (t, _, _) = error ("Bad mixfix declaration for " ^ quote t); fun check_args (_, ty, _) (SOME (mfix as Syn_Ext.Mfix (sy, _, _, _, _))) = if length (Term.binder_types ty) = Syn_Ext.mfix_args sy then () @@ -145,7 +145,7 @@ | mfix_of (c, ty, Infixr (sy, p)) = mk_infix sy ty c (p + 1) p p | mfix_of (c, ty, Binder (sy, p, q)) = [Syn_Ext.Mfix ("(3" ^ sy ^ "_./ _)", binder_typ c ty, (binder_name c), [0, p], q)] - | mfix_of (c, _, _) = error ("Bad mixfix declaration for " ^ quote c); (* FIXME printable c (!?) *) + | mfix_of (c, _, _) = error ("Bad mixfix declaration for " ^ quote c); fun binder (c, _, Binder _) = SOME (binder_name c, c) | binder _ = NONE;