aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2005-03-07 21:59:20 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2005-03-07 21:59:20 +0000
commit5e544b71abd2086c85df59898d58f837a106bbec (patch)
treebde8f7dce1cc507f2e1dcd03d8a1d871e8f08360 /parsing
parentd2562604fcea7ef0b0c5658af8fe21003ef3953e (diff)
Added 'clear - id' to clear all hypotheses except the ones dependent in the statement of id
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6807 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_tactic.ml44
1 files changed, 2 insertions, 2 deletions
diff --git a/parsing/g_tactic.ml4 b/parsing/g_tactic.ml4
index 8972b0a21..09d2117c8 100644
--- a/parsing/g_tactic.ml4
+++ b/parsing/g_tactic.ml4
@@ -322,8 +322,8 @@ GEXTEND Gram
TacDAuto (n, p)
(* Context management *)
- | IDENT "Clear"; "-"; l = LIST1 id_or_meta -> TacClear (true, l)
- | IDENT "Clear"; l = LIST0 id_or_meta -> TacClear (l=[], l)
+ | IDENT "Clear"; "-"; l = LIST1 id_or_ltac_ref -> TacClear (true, l)
+ | IDENT "Clear"; l = LIST0 id_or_ltac_ref -> TacClear (l=[], l)
| IDENT "ClearBody"; l = LIST1 id_or_ltac_ref -> TacClearBody l
| IDENT "Move"; id1 = id_or_ltac_ref; IDENT "after";
id2 = id_or_ltac_ref -> TacMove (true,id1,id2)