src/Pure/Thy/thy_load.ML
changeset 51294 0850d43cb355
parent 51293 05b1bbae748d
child 51322 fd67b7f219e4
--- a/src/Pure/Thy/thy_load.ML	Wed Feb 27 12:45:19 2013 +0100
+++ b/src/Pure/Thy/thy_load.ML	Wed Feb 27 16:27:44 2013 +0100
@@ -132,7 +132,7 @@
     val master_file = check_file dir path;
     val text = File.read master_file;
 
-    val {name = (name, pos), imports, files = [], keywords} =
+    val {name = (name, pos), imports, keywords} =
       Thy_Header.read (Path.position master_file) text;
     val _ = thy_name <> name andalso
       error ("Bad file name " ^ Path.print path ^ " for theory " ^ quote name ^ Position.here pos);
@@ -207,7 +207,7 @@
 
 (* load_thy *)
 
-fun begin_theory master_dir {name, imports, keywords, files = []} parents =
+fun begin_theory master_dir {name, imports, keywords} parents =
   Theory.begin_theory name parents
   |> put_deps master_dir imports
   |> fold Thy_Header.declare_keyword keywords
@@ -238,7 +238,7 @@
   let
     val time = ! Toplevel.timing;
 
-    val {name = (name, _), files = [], ...} = header;
+    val {name = (name, _), ...} = header;
     val _ = Thy_Header.define_keywords header;
     val _ = Present.init_theory name;
     fun init () =