src/HOL/Tools/BNF/bnf_def.ML
changeset 56523 2ae16e3d8b6d
parent 56522 f54003750e7d
child 56635 b07c8ad23010
--- a/src/HOL/Tools/BNF/bnf_def.ML	Thu Apr 10 17:48:16 2014 +0200
+++ b/src/HOL/Tools/BNF/bnf_def.ML	Thu Apr 10 17:48:17 2014 +0200
@@ -1315,6 +1315,7 @@
   val eq: T * T -> bool = op = o pairself T_of_bnf;
 );
 
+(* FIXME naming *)
 fun with_repaired_path f bnf thy =
   let
     val qualifiers =
@@ -1324,10 +1325,10 @@
       | (_, qs, _) => qs)
   in
     thy
-    |> Sign.root_path
-    |> fold (uncurry (fn true => Sign.mandatory_path | false => Sign.add_path) o swap) qualifiers
+    (*|> Sign.root_path*)
+    (*|> fold (uncurry (fn true => Sign.mandatory_path | false => Sign.add_path) o swap) qualifiers*)
     |> (fn thy => f (morph_bnf (Morphism.transfer_morphism thy) bnf) thy)
-    |> Sign.restore_naming thy
+    (*|> Sign.restore_naming thy*)
   end;
 
 val bnf_interpretation = BNF_Interpretation.interpretation o with_repaired_path;