aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-03-19 03:01:26 +0100
committerPierre-Marie Pédrot2016-03-19 03:01:26 +0100
commitfff96bb174df956bc38c207d716d7f8019ca04d8 (patch)
tree842afc28f891fa8516cbb86d1051b41686eb67a6 /printing
parentf63cf9d72c7feb6aa65e525bf6262559a355435f (diff)
parentce2ffd090bd64963279cbbb84012d1b266ed9918 (diff)
Removing the VernacSolve entry of the vernacular AST.
This is an important step into making Ltac a plugin. It also allows to see what the important entry points in the Coq codebase for a tactic language are.
Diffstat (limited to 'printing')
-rw-r--r--printing/ppvernac.ml18
1 files changed, 0 insertions, 18 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml
index a101540aba..887a14d2bf 100644
--- a/printing/ppvernac.ml
+++ b/printing/ppvernac.ml
@@ -979,24 +979,6 @@ module Make
prlist_with_sep (fun () -> str " <+ ") pr_m mexprs)
)
(* Solving *)
- | VernacSolve (i,info,tac,deftac) ->
- let pr_goal_selector = function
- | SelectNth i -> int i ++ str":"
- | SelectId id -> pr_id id ++ str":"
- | SelectAll -> str"all" ++ str":"
- | SelectAllParallel -> str"par"
- in
- let pr_info =
- match info with
- | None -> mt ()
- | Some i -> str"Info"++spc()++int i++spc()
- in
- return (
- (if i = Proof_global.get_default_goal_selector () then mt() else pr_goal_selector i) ++
- pr_info ++
- pr_raw_tactic tac
- ++ (if deftac then str ".." else mt ())
- )
| VernacSolveExistential (i,c) ->
return (keyword "Existential" ++ spc () ++ int i ++ pr_lconstrarg c)