src/Pure/Isar/theory_target.ML
changeset 33724 5ee13e0428d2
parent 33700 768d14a67256
child 33764 7bcefaab8d41
equal deleted inserted replaced
33723:14d0dadd9517 33724:5ee13e0428d2
   322   else if not is_class then Locale.init target
   322   else if not is_class then Locale.init target
   323   else Class_Target.init target;
   323   else Class_Target.init target;
   324 
   324 
   325 fun init_lthy (ta as Target {target, instantiation, overloading, ...}) =
   325 fun init_lthy (ta as Target {target, instantiation, overloading, ...}) =
   326   Data.put ta #>
   326   Data.put ta #>
   327   Local_Theory.init (Long_Name.base_name target)
   327   Local_Theory.init NONE (Long_Name.base_name target)
   328    {pretty = pretty ta,
   328    {pretty = pretty ta,
   329     abbrev = abbrev ta,
   329     abbrev = abbrev ta,
   330     define = define ta,
   330     define = define ta,
   331     notes = notes ta,
   331     notes = notes ta,
   332     type_syntax = type_syntax ta,
   332     type_syntax = type_syntax ta,