src/Pure/Isar/toplevel.ML
changeset 38236 d8c7be27e01d
parent 37977 3ceccd415145
child 38337 f6c1e169f51b
child 38350 480b2de9927c
equal deleted inserted replaced
38235:25d6f789618b 38236:d8c7be27e01d
   569 
   569 
   570 fun async_state (tr as Transition {print, ...}) st =
   570 fun async_state (tr as Transition {print, ...}) st =
   571   if print then
   571   if print then
   572     ignore
   572     ignore
   573       (Future.fork (fn () =>
   573       (Future.fork (fn () =>
   574           setmp_thread_position tr (fn () => Future.report (fn () => print_state false st)) ()))
   574           setmp_thread_position tr (fn () => Future.status (fn () => print_state false st)) ()))
   575   else ();
   575   else ();
   576 
   576 
   577 fun error_msg tr exn_info =
   577 fun error_msg tr exn_info =
   578   setmp_thread_position tr (fn () =>
   578   setmp_thread_position tr (fn () =>
   579     Output.error_msg (ML_Compiler.exn_message (EXCURSION_FAIL exn_info))) ();
   579     Output.error_msg (ML_Compiler.exn_message (EXCURSION_FAIL exn_info))) ();