tuned;
authorwenzelm
Thu, 10 Jul 2008 17:47:40 +0200
changeset 27528 4bbf70c35a6e
parent 27527 02b2c9eab4e2
child 27529 6a5ccbb1bca0
tuned;
src/Pure/Isar/isar.ML
--- a/src/Pure/Isar/isar.ML	Thu Jul 10 17:43:02 2008 +0200
+++ b/src/Pure/Isar/isar.ML	Thu Jul 10 17:47:40 2008 +0200
@@ -142,7 +142,6 @@
 end;
 
 fun set_point id = change_point (K id);
-fun init_point () = set_point no_id;
 
 fun point_result () = NAMED_CRITICAL "Isar" (fn () =>
   let val id = point () in (id, the_result id) end);
@@ -243,7 +242,7 @@
 
 fun toplevel_loop {init, welcome, sync, secure} =
  (Context.set_thread_data NONE;
-  if init then (init_point (); init_commands ()) else ();
+  if init then (set_point no_id; init_commands ()) else ();
   if welcome then writeln (Session.welcome ()) else ();
   uninterruptible (fn _ => fn () => raw_loop secure (OuterSyntax.isar sync)) ());
 
@@ -251,6 +250,7 @@
 
 fun loop () =
   toplevel_loop {init = false, welcome = false, sync = false, secure = Secure.is_secure ()};
+
 fun main () =
   toplevel_loop {init = true, welcome = true, sync = false, secure = Secure.is_secure ()};