# HG changeset patch # User wenzelm # Date 1393270928 -3600 # Node ID aaf024d63b351dff99f82376a758c93df80af7b8 # Parent 7e330ae052bb6df8f8bea634a28d1335581b16e2 reverted c05d3e22adaf: Locale.intern is still required by AFP/Simpl; diff -r 7e330ae052bb -r aaf024d63b35 src/Pure/Isar/locale.ML --- a/src/Pure/Isar/locale.ML Mon Feb 24 19:44:09 2014 +0100 +++ b/src/Pure/Isar/locale.ML Mon Feb 24 20:42:08 2014 +0100 @@ -36,6 +36,7 @@ declaration list -> (string * (Attrib.binding * (thm list * Attrib.src list) list) list) list -> (string * morphism) list -> theory -> theory + val intern: theory -> xstring -> string val check: theory -> xstring * Position.T -> string val extern: theory -> string -> xstring val markup_name: Proof.context -> string -> string @@ -159,6 +160,7 @@ val merge = Name_Space.join_tables (K merge_locale); ); +val intern = Name_Space.intern o #1 o Locales.get; fun check thy = #1 o Name_Space.check (Context.Theory thy) (Locales.get thy); fun extern thy = Name_Space.extern (Proof_Context.init_global thy) (#1 (Locales.get thy));