aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/g_ltac.ml4
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-05-29 11:08:56 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-05-29 11:08:56 +0000
commit44d0a3fb1b24561cfdf0eed6e331d450e152bbe4 (patch)
tree67fab51a203abd2aab79ef177ecf0b9aa69b276b /parsing/g_ltac.ml4
parentca1a22c3dd8d098b7a9ca2d84cb8ea3fceef075a (diff)
Migrate the grammar entry about "Ltac" into g_vernac.ml4.
It's the right place for it, and it will allow cutting some deps for grammar.cma later. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15378 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/g_ltac.ml4')
-rw-r--r--parsing/g_ltac.ml48
1 files changed, 1 insertions, 7 deletions
diff --git a/parsing/g_ltac.ml4 b/parsing/g_ltac.ml4
index f5bf5e099..42d6354af 100644
--- a/parsing/g_ltac.ml4
+++ b/parsing/g_ltac.ml4
@@ -10,7 +10,6 @@ open Pp
open Constrexpr
open Tacexpr
open Vernacexpr
-open Locality
open Misctypes
open Genredexpr
@@ -27,7 +26,7 @@ let arg_of_expr = function
(* Tactics grammar rules *)
GEXTEND Gram
- GLOBAL: tactic Vernac_.command tactic_expr binder_tactic tactic_arg
+ GLOBAL: tactic tacdef_body tactic_expr binder_tactic tactic_arg
constr_may_eval;
tactic_then_last:
@@ -223,9 +222,4 @@ GEXTEND Gram
tactic:
[ [ tac = tactic_expr -> tac ] ]
;
- Vernac_.command:
- [ [ IDENT "Ltac";
- l = LIST1 tacdef_body SEP "with" ->
- VernacDeclareTacticDefinition (use_module_locality (), true, l) ] ]
- ;
END