src/Pure/PIDE/document.ML
changeset 45153 3eaad39e520c
parent 45125 270366301bd7
child 45154 89f40a5939b2
equal deleted inserted replaced
45152:3ff2fd162aee 45153:3eaad39e520c
   266     SOME (st', NONE) => ([], SOME st')
   266     SOME (st', NONE) => ([], SOME st')
   267   | SOME (_, SOME exn_info) =>
   267   | SOME (_, SOME exn_info) =>
   268       (case ML_Compiler.exn_messages (Runtime.EXCURSION_FAIL exn_info) of
   268       (case ML_Compiler.exn_messages (Runtime.EXCURSION_FAIL exn_info) of
   269         [] => Exn.interrupt ()
   269         [] => Exn.interrupt ()
   270       | errs => (errs, NONE))
   270       | errs => (errs, NONE))
   271   | NONE => ([ML_Compiler.exn_message Runtime.TERMINATE], NONE));
   271   | NONE => ([(serial (), ML_Compiler.exn_message Runtime.TERMINATE)], NONE));
   272 
   272 
   273 in
   273 in
   274 
   274 
   275 fun run_command tr st =
   275 fun run_command tr st =
   276   let
   276   let