--- a/src/Pure/Isar/isar_cmd.ML Wed Jul 02 16:40:15 2008 +0200
+++ b/src/Pure/Isar/isar_cmd.ML Wed Jul 02 16:40:17 2008 +0200
@@ -324,7 +324,7 @@
val kill_theory = ThyInfo.if_known_thy ThyInfo.remove_thy;
fun theory (name, imports, uses) =
- Toplevel.init_theory (begin_theory name imports uses)
+ Toplevel.init_theory name (begin_theory name imports uses)
(fn thy => (end_theory thy; ()))
(kill_theory o Context.theory_name);
--- a/src/Pure/Isar/outer_syntax.ML Wed Jul 02 16:40:15 2008 +0200
+++ b/src/Pure/Isar/outer_syntax.ML Wed Jul 02 16:40:17 2008 +0200
@@ -202,7 +202,7 @@
let
val result = ref thy;
val trs = parse (Path.position path) (File.read path);
- val init = Toplevel.init_theory (K thy) (fn thy' => result := thy') (K ());
+ val init = Toplevel.init_theory "" (K thy) (fn thy' => result := thy') (K ());
val _ = Toplevel.excursion (init Toplevel.empty :: trs @ [Toplevel.exit Toplevel.empty]);
in ! result end;