diff options
author | 2014-09-30 09:50:07 +0200 | |
---|---|---|
committer | 2014-09-30 10:02:47 +0200 | |
commit | a1be9ce30ed0c59d3cd8651ff0c624a24a6d3fc9 (patch) | |
tree | a2d0ce66634899dd71d5abb8e525cf1a7ebad7cb /tactics/tacintern.ml | |
parent | 538b77dbb3b7799dc4d2e18033fc4fbf2eb26f7f (diff) |
Seeing IntroWildcard as an action intro pattern rather than as a naming pattern
(the action is "clear").
Added subst_intropattern which was missing since the introduction of
ApplyOn intro patterns.
Still to do: make "intros _ ?id" working without interferences when
"id" is precisely the internal name used for hypotheses to discard.
Diffstat (limited to 'tactics/tacintern.ml')
-rw-r--r-- | tactics/tacintern.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/tacintern.ml b/tactics/tacintern.ml index 23be27552..08dd0dff4 100644 --- a/tactics/tacintern.ml +++ b/tactics/tacintern.ml @@ -254,14 +254,14 @@ and intern_intro_pattern_naming lf ist = function IntroIdentifier (intern_ident lf ist id) | IntroFresh id -> IntroFresh (intern_ident lf ist id) - | IntroWildcard | IntroAnonymous as x -> x + | IntroAnonymous as x -> x and intern_intro_pattern_action lf ist = function | IntroOrAndPattern l -> IntroOrAndPattern (intern_or_and_intro_pattern lf ist l) | IntroInjection l -> IntroInjection (List.map (intern_intro_pattern lf ist) l) - | IntroRewrite _ as x -> x + | IntroWildcard | IntroRewrite _ as x -> x | IntroApplyOn (c,pat) -> IntroApplyOn (intern_constr ist c, intern_intro_pattern lf ist pat) |