src/Pure/Isar/interpretation.ML
changeset 67740 b6ce18784872
parent 67702 2d9918f5b33c
child 67777 2d3c1091527b
--- a/src/Pure/Isar/interpretation.ML	Thu Mar 01 20:44:38 2018 +0100
+++ b/src/Pure/Isar/interpretation.ML	Fri Mar 02 14:19:25 2018 +0100
@@ -49,7 +49,7 @@
 (** common interpretation machinery **)
 
 type 'a defines = (Attrib.binding * ((binding * mixfix) * 'a)) list
-type 'a rewrites = (Attrib.binding * 'a) list
+type 'a rewrites = 'a Expression.rewrites
 
 (* reading of locale expressions with rewrite morphisms *)
 
@@ -83,7 +83,7 @@
   | prep_eqns prep_props prep_attr raw_eqns deps ctxt =
       let
         (* FIXME incompatibility, creating context for parsing rewrites equation may fail in
-           presence of replaces clause *)
+           presence of rewrites clause in expression *)
         val ctxt' = fold Locale.activate_declarations deps ctxt;
         val eqns =
           (Variable.export_terms ctxt' ctxt o prep_props ctxt' o map snd) raw_eqns;