aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Init/Notations.v
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-08-07 00:19:22 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-08-07 01:12:59 +0200
commit07a9afbdf9561402897728963d40de80b9912bea (patch)
treee30c0599ecccad324425d2c1ace2cde846cf5bf3 /theories/Init/Notations.v
parentfe3b935204b8e4889b969bfd2faaaaa679e8a3cf (diff)
Removing the "constructor" tactic from the AST.
Diffstat (limited to 'theories/Init/Notations.v')
-rw-r--r--theories/Init/Notations.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/theories/Init/Notations.v b/theories/Init/Notations.v
index 5095329cd..fbad368c2 100644
--- a/theories/Init/Notations.v
+++ b/theories/Init/Notations.v
@@ -90,3 +90,13 @@ Declare ML Module "g_class".
Declare ML Module "g_eqdecide".
Declare ML Module "g_rewrite".
Declare ML Module "tauto".
+
+(** Small hack to overcome the fact that the (e)constructor tactics need to have
+ a proper parsing rule, because the variants with arguments conflicts
+ with it. *)
+Module CoreTactics.
+Declare ML Module "coretactics".
+End CoreTactics.
+
+Tactic Notation "constructor" := CoreTactics.constructor.
+Tactic Notation "econstructor" := CoreTactics.econstructor.