diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-08-07 00:54:18 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-08-07 01:23:02 +0200 |
commit | 27a7d7133f83cb95eff90df4338a47b0d6681aa0 (patch) | |
tree | f13ae6f466e68fcc8355e51c93799932615e1768 /theories/Init/Notations.v | |
parent | 07a9afbdf9561402897728963d40de80b9912bea (diff) |
Instead of relying on a trick to make the constructor tactic parse, put
all the tactics using the constructor keyword in one entry. This has the
side-effect to also remove the other variant of constructor from the AST.
I also needed to hack around the "tauto" tactic to make it work, by
calling directly the ML tactic through a TacExtend node. This may be
generalized to get rid of the intermingled dependencies between this
tactic and the infamous Ltac quotation mechanism.
Diffstat (limited to 'theories/Init/Notations.v')
-rw-r--r-- | theories/Init/Notations.v | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/theories/Init/Notations.v b/theories/Init/Notations.v index fbad368c2..5095329cd 100644 --- a/theories/Init/Notations.v +++ b/theories/Init/Notations.v @@ -90,13 +90,3 @@ 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. |