aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-02-29 11:05:26 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-02-29 13:24:45 +0100
commitd0bc16d1a0626f4137797bbf0c91e972a0ff43ac (patch)
tree1422c60ccfbbe5c75d693870405a6ee32b6a3464 /parsing
parentbda8b2e8f90235ca875422f211cb781068b20b3c (diff)
Moving the "clear" tactic to TACTIC EXTEND.
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_tactic.ml44
1 files changed, 0 insertions, 4 deletions
diff --git a/parsing/g_tactic.ml4 b/parsing/g_tactic.ml4
index 6c3918be3..ad5f78b46 100644
--- a/parsing/g_tactic.ml4
+++ b/parsing/g_tactic.ml4
@@ -618,10 +618,6 @@ GEXTEND Gram
TacAtom (!@loc, TacInductionDestruct(false,true,icl))
(* Context management *)
- | IDENT "clear"; "-"; l = LIST1 id_or_meta -> TacAtom (!@loc, TacClear (true, l))
- | IDENT "clear"; l = LIST0 id_or_meta ->
- let is_empty = match l with [] -> true | _ -> false in
- TacAtom (!@loc, TacClear (is_empty, l))
| IDENT "clearbody"; l = LIST1 id_or_meta -> TacAtom (!@loc, TacClearBody l)
| IDENT "move"; hfrom = id_or_meta; hto = move_location ->
TacAtom (!@loc, TacMove (hfrom,hto))