Skip to content
Snippets Groups Projects
Commit a838006b authored by Claude Marché's avatar Claude Marché
Browse files

local exception not supported by older version of OCaml, that's a pity

parent 1d6321df
Branches
No related tags found
No related merge requests found
...@@ -1022,6 +1022,8 @@ end ...@@ -1022,6 +1022,8 @@ end
(* ----------------- Schedule proof attempt -------------------- *) (* ----------------- Schedule proof attempt -------------------- *)
exception Return
(* Callback of a proof_attempt *) (* Callback of a proof_attempt *)
let callback_update_tree_proof cont panid pa_status = let callback_update_tree_proof cont panid pa_status =
let ses = cont.controller_session in let ses = cont.controller_session in
...@@ -1033,7 +1035,6 @@ end ...@@ -1033,7 +1035,6 @@ end
let parent = node_ID_from_pn parent_id in let parent = node_ID_from_pn parent_id in
new_node ~parent (APa panid) new_node ~parent (APa panid)
in in
let exception Return in
try try
begin match pa_status with begin match pa_status with
| UpgradeProver _ -> | UpgradeProver _ ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment