aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Arnaud Spiwack <arnaud@spiwack.net>2015-03-12 17:29:51 +0100
committerGravatar Arnaud Spiwack <arnaud@spiwack.net>2015-03-13 16:41:03 +0100
commitcaa1e9278136bbf2c9353eeb415d331eee99c172 (patch)
treeb6ecd59a29e218706c6583332e90104c3bc81723
parent2837753608c077b543467ad086d393dddf9c3f9d (diff)
Declarative mode: remove a superfluous [set_proof_mode].
It was probably creating bugs when trying to use [escape].
-rw-r--r--plugins/decl_mode/decl_proof_instr.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/decl_mode/decl_proof_instr.ml b/plugins/decl_mode/decl_proof_instr.ml
index 83dd10742..ab5282e79 100644
--- a/plugins/decl_mode/decl_proof_instr.ml
+++ b/plugins/decl_mode/decl_proof_instr.ml
@@ -1472,8 +1472,7 @@ let do_instr raw_instr pts =
else pts
in
Proof_global.simple_with_current_proof (fun _ _ -> pts);
- postprocess pts raw_instr.instr;
- Proof_global.set_proof_mode "Declarative"
+ postprocess pts raw_instr.instr
let proof_instr raw_instr =
let p = Proof_global.give_me_the_proof () in