src/Pure/theory.ML
changeset 71155 25b872d1d421
parent 70923 98d9b78b7f47
child 71674 48ff625687f5
equal deleted inserted replaced
71154:7db80bd16f1c 71155:25b872d1d421
   192       val wrappers = begin_wrappers thy;
   192       val wrappers = begin_wrappers thy;
   193     in
   193     in
   194       thy
   194       thy
   195       |> init_markup (name, pos)
   195       |> init_markup (name, pos)
   196       |> Sign.local_path
   196       |> Sign.local_path
   197       |> Sign.map_naming (Name_Space.set_theory_name (Long_Name.base_name name))
   197       |> Sign.theory_naming
   198       |> apply_wrappers wrappers
   198       |> apply_wrappers wrappers
   199       |> tap (Syntax.force_syntax o Sign.syn_of)
   199       |> tap (Syntax.force_syntax o Sign.syn_of)
   200     end;
   200     end;
   201 
   201 
   202 fun end_theory thy =
   202 fun end_theory thy =