aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2017-06-12 11:22:38 +0200
committerThéo Zimmermann2017-06-12 11:23:21 +0200
commit6cd14bf253f681d0465f8dce1d84a54a4f104d9c (patch)
treee7fb6bf346c09ff0cb705f299bdf9af6d941a808
parent76f97eac9e0b6eee76469b2a00a9c157caa3da8a (diff)
Remove non-working Show Tree and Show Node commands.
-rw-r--r--intf/vernacexpr.ml2
-rw-r--r--parsing/g_proofs.ml42
-rw-r--r--printing/ppvernac.ml2
-rw-r--r--vernac/vernacentries.ml10
4 files changed, 0 insertions, 16 deletions
diff --git a/intf/vernacexpr.ml b/intf/vernacexpr.ml
index c928e0bbbf..b3b3327272 100644
--- a/intf/vernacexpr.ml
+++ b/intf/vernacexpr.ml
@@ -97,11 +97,9 @@ type locatable =
type showable =
| ShowGoal of goal_reference
| ShowProof
- | ShowNode
| ShowScript
| ShowExistentials
| ShowUniverses
- | ShowTree
| ShowProofNames
| ShowIntros of bool
| ShowMatch of reference
diff --git a/parsing/g_proofs.ml4 b/parsing/g_proofs.ml4
index 8c270d8024..b5eb2a1813 100644
--- a/parsing/g_proofs.ml4
+++ b/parsing/g_proofs.ml4
@@ -64,11 +64,9 @@ GEXTEND Gram
| IDENT "Show" -> VernacShow (ShowGoal OpenSubgoals)
| IDENT "Show"; n = natural -> VernacShow (ShowGoal (NthGoal n))
| IDENT "Show"; id = ident -> VernacShow (ShowGoal (GoalId id))
- | IDENT "Show"; IDENT "Node" -> VernacShow ShowNode
| IDENT "Show"; IDENT "Script" -> VernacShow ShowScript
| IDENT "Show"; IDENT "Existentials" -> VernacShow ShowExistentials
| IDENT "Show"; IDENT "Universes" -> VernacShow ShowUniverses
- | IDENT "Show"; IDENT "Tree" -> VernacShow ShowTree
| IDENT "Show"; IDENT "Conjectures" -> VernacShow ShowProofNames
| IDENT "Show"; IDENT "Proof" -> VernacShow ShowProof
| IDENT "Show"; IDENT "Intro" -> VernacShow (ShowIntros false)
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml
index 2633cdd6b5..81f41cba13 100644
--- a/printing/ppvernac.ml
+++ b/printing/ppvernac.ml
@@ -562,11 +562,9 @@ open Decl_kinds
let pr_showable = function
| ShowGoal n -> keyword "Show" ++ pr_goal_reference n
| ShowProof -> keyword "Show Proof"
- | ShowNode -> keyword "Show Node"
| ShowScript -> keyword "Show Script"
| ShowExistentials -> keyword "Show Existentials"
| ShowUniverses -> keyword "Show Universes"
- | ShowTree -> keyword "Show Tree"
| ShowProofNames -> keyword "Show Conjectures"
| ShowIntros b -> keyword "Show " ++ (if b then keyword "Intros" else keyword "Intro")
| ShowMatch id -> keyword "Show Match " ++ pr_reference id
diff --git a/vernac/vernacentries.ml b/vernac/vernacentries.ml
index c0272f2108..e0eeaf563b 100644
--- a/vernac/vernacentries.ml
+++ b/vernac/vernacentries.ml
@@ -61,11 +61,6 @@ let show_proof () =
let pprf = Proof.partial_proof p in
Feedback.msg_notice (Pp.prlist_with_sep Pp.fnl Printer.pr_econstr pprf)
-let show_node () =
- (* spiwack: I'm have little clue what this function used to do. I deactivated it,
- could, possibly, be cleaned away. (Feb. 2010) *)
- ()
-
let show_thesis () = CErrors.anomaly (Pp.str "Show Thesis: TODO.")
let show_top_evars () =
@@ -83,9 +78,6 @@ let show_universes () =
Feedback.msg_notice (Termops.pr_evar_universe_context (Evd.evar_universe_context sigma));
Feedback.msg_notice (str"Normalized constraints: " ++ Univ.pr_universe_context_set (Termops.pr_evd_level sigma) ctx)
-(* Spiwack: proof tree is currently not working *)
-let show_prooftree () = ()
-
(* Simulate the Intro(s) tactic *)
let show_intro all =
let open EConstr in
@@ -1845,10 +1837,8 @@ let vernac_show = let open Feedback in function
in
msg_notice info
| ShowProof -> show_proof ()
- | ShowNode -> show_node ()
| ShowExistentials -> show_top_evars ()
| ShowUniverses -> show_universes ()
- | ShowTree -> show_prooftree ()
| ShowProofNames ->
msg_notice (pr_sequence pr_id (Pfedit.get_all_proof_names()))
| ShowIntros all -> show_intro all