src/Pure/pure_syn.ML
changeset 48896 bb1f461a7815
parent 48881 46e053eda5dd
child 48905 04576657cf94
--- a/src/Pure/pure_syn.ML	Wed Aug 22 23:45:49 2012 +0200
+++ b/src/Pure/pure_syn.ML	Thu Aug 23 11:58:10 2012 +0200
@@ -22,8 +22,8 @@
       >> (fn (name, files) => Toplevel.generic_theory (fn gthy =>
         let
           val src_path = Path.explode name;
-          val (dir, [(txt, pos)]) = files (Context.theory_of gthy);
-          val provide = Thy_Load.provide (src_path, (File.full_path dir src_path, SHA1.digest txt));
+          val (_, [(txt, pos)]) = files (Context.theory_of gthy);
+          val provide = Thy_Load.provide (src_path, SHA1.digest txt);
         in
           gthy
           |> ML_Context.exec (fn () => ML_Context.eval_text true pos txt)