equal
deleted
inserted
replaced
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))) (); |