src/Pure/Isar/locale.ML
changeset 42375 774df7c59508
parent 42360 da8817d01e7c
child 45290 f599ac41e7f5
--- a/src/Pure/Isar/locale.ML	Sun Apr 17 13:47:22 2011 +0200
+++ b/src/Pure/Isar/locale.ML	Sun Apr 17 19:54:04 2011 +0200
@@ -173,7 +173,7 @@
   | NONE => error ("Unknown locale " ^ quote name));
 
 fun register_locale binding parameters spec intros axioms syntax_decls notes dependencies thy =
-  thy |> Locales.map (Name_Space.define true (Sign.naming_of thy)
+  thy |> Locales.map (Name_Space.define (Proof_Context.init_global thy) true (Sign.naming_of thy)
     (binding,
       mk_locale ((parameters, spec, intros, axioms),
         ((map (fn decl => (decl, serial ())) syntax_decls, map (fn n => (n, serial ())) notes),