aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/decl_mode
diff options
context:
space:
mode:
authorGravatar Arnaud Spiwack <arnaud@spiwack.net>2015-03-19 11:33:10 +0100
committerGravatar Arnaud Spiwack <arnaud@spiwack.net>2015-03-31 11:28:18 +0200
commite52303164660041690f6e05a110ff633007a1dd5 (patch)
treebc85f0fbc8046ca38aa919aeedb401402f4443c0 /plugins/decl_mode
parent65d701a752d9edc2d48256413b6176fa4687554d (diff)
Declarative mode: fix proof modes.
`end proof` changes the proof mode to `"Classic"`.
Diffstat (limited to 'plugins/decl_mode')
-rw-r--r--plugins/decl_mode/decl_proof_instr.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/decl_mode/decl_proof_instr.ml b/plugins/decl_mode/decl_proof_instr.ml
index ab5282e79..9d0b7f346 100644
--- a/plugins/decl_mode/decl_proof_instr.ml
+++ b/plugins/decl_mode/decl_proof_instr.ml
@@ -1446,6 +1446,7 @@ let rec postprocess pts instr =
anomaly (Pp.str "\"end induction\" generated an ill-formed fixpoint")
end
| Pend (B_elim ET_Case_analysis) -> goto_current_focus ()
+ | Pend B_proof -> Proof_global.set_proof_mode "Classic"
| Pend _ -> ()
let do_instr raw_instr pts =