proper base name, e.g. relevant for Code_Namespace.hierarchical_program;
authorwenzelm
Wed, 19 Apr 2017 12:27:36 +0200
changeset 65508 a72ab197e681
parent 65507 decdb95bd007
child 65509 ffedb16f382f
proper base name, e.g. relevant for Code_Namespace.hierarchical_program;
src/Pure/theory.ML
--- a/src/Pure/theory.ML	Tue Apr 18 19:17:46 2017 +0200
+++ b/src/Pure/theory.ML	Wed Apr 19 12:27:36 2017 +0200
@@ -170,7 +170,7 @@
       thy
       |> init_markup (name, pos)
       |> Sign.local_path
-      |> Sign.map_naming (Name_Space.set_theory_name name)
+      |> Sign.map_naming (Name_Space.set_theory_name (Long_Name.base_name name))
       |> apply_wrappers wrappers
       |> tap (Syntax.force_syntax o Sign.syn_of)
     end;