aboutsummaryrefslogtreecommitdiff
path: root/parsing/g_tactic.ml4
diff options
context:
space:
mode:
authorcorbinea2003-11-06 14:35:25 +0000
committercorbinea2003-11-06 14:35:25 +0000
commita008023cae4fdddffbbbfd8a455d7776200a9cfb (patch)
treec2b82f43339ee45d614395d7350d6b53a8364437 /parsing/g_tactic.ml4
parentb74a68a56164f952345ba083f42b95eaaa37355e (diff)
Added Instantiate ... in
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4820 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/g_tactic.ml4')
-rw-r--r--parsing/g_tactic.ml45
1 files changed, 3 insertions, 2 deletions
diff --git a/parsing/g_tactic.ml4 b/parsing/g_tactic.ml4
index 47977b69b6..74352c0bb2 100644
--- a/parsing/g_tactic.ml4
+++ b/parsing/g_tactic.ml4
@@ -292,8 +292,9 @@ GEXTEND Gram
| IDENT "Generalize"; IDENT "Dependent"; c = constr -> TacGeneralizeDep c
| IDENT "LetTac"; id = base_ident; ":="; c = constr; p = clause_pattern
-> TacLetTac (id,c,p)
- | IDENT "Instantiate"; n = natural; c = constr -> TacInstantiate (n,c)
-
+ | IDENT "Instantiate"; n = natural; c = constr;
+ ido = OPT [ "in"; id = id_or_ltac_ref -> id ] ->
+ TacInstantiate (n,c,ido)
| IDENT "Specialize"; n = OPT natural; lcb = constr_with_bindings ->
TacSpecialize (n,lcb)
| IDENT "LApply"; c = constr -> TacLApply c