src/Pure/Thy/thy_info.ML
changeset 71674 48ff625687f5
parent 71249 877316c54ed3
child 72235 a5bf0b69c22a
equal deleted inserted replaced
71673:88dfbc382a3d 71674:48ff625687f5
   350 
   350 
   351     val {master = (thy_path, _), imports} = deps;
   351     val {master = (thy_path, _), imports} = deps;
   352     val dir = Path.dir thy_path;
   352     val dir = Path.dir thy_path;
   353     val header = Thy_Header.make (name, pos) imports keywords;
   353     val header = Thy_Header.make (name, pos) imports keywords;
   354 
   354 
   355     val _ = Position.reports (map #2 imports ~~ map Theory.get_markup parents);
   355     val _ =
       
   356       (imports ~~ parents) |> List.app (fn ((_, pos), thy) =>
       
   357         Context_Position.reports_global thy [(pos, Theory.get_markup thy)]);
   356 
   358 
   357     val exec_id = Document_ID.make ();
   359     val exec_id = Document_ID.make ();
   358     val _ =
   360     val _ =
   359       Execution.running Document_ID.none exec_id [] orelse
   361       Execution.running Document_ID.none exec_id [] orelse
   360         raise Fail ("Failed to register execution: " ^ Document_ID.print exec_id);
   362         raise Fail ("Failed to register execution: " ^ Document_ID.print exec_id);