src/HOL/Import/replay.ML
changeset 37778 87b5dfe00387
parent 35842 7c170d39a808
child 39557 fe5722fce758
equal deleted inserted replaced
37777:22107b894e5a 37778:87b5dfe00387
   270                     end
   270                     end
   271                   | _ => rp pc thy
   271                   | _ => rp pc thy
   272             end
   272             end
   273     in
   273     in
   274         let
   274         let
   275             val x = rp' prf thy handle e => (writeln "Exception in replay_proof"; OldGoals.print_exn e)
   275             val x = rp' prf thy
   276             val _ = ImportRecorder.stop_replay_proof thyname thmname
   276             val _ = ImportRecorder.stop_replay_proof thyname thmname
   277         in
   277         in
   278             x
   278             x
   279         end
   279         end
   280     end handle x => (ImportRecorder.abort_replay_proof thyname thmname; raise x)
   280     end handle x => (ImportRecorder.abort_replay_proof thyname thmname; reraise x)
   281 
   281 
   282 fun setup_int_thms thyname thy =
   282 fun setup_int_thms thyname thy =
   283     let
   283     let
   284         val fname =
   284         val fname =
   285             case P.get_proof_dir thyname thy of
   285             case P.get_proof_dir thyname thy of