aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
authorherbelin2002-11-26 21:58:57 +0000
committerherbelin2002-11-26 21:58:57 +0000
commitb35297ca8e2521f0672b671e7be8f186c66b80f0 (patch)
treed9972ce53bde3bcf88d168460ffff674ce29c10d /interp
parentfe26bf9b20c3f44a7db211bdaf9dc1c908db3d83 (diff)
Ne pas cacher les Metas d'une notations, ils peuvent ĂȘtre liant dans
les filtrage de ltac. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3302 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp')
-rw-r--r--interp/topconstr.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/interp/topconstr.ml b/interp/topconstr.ml
index c548d820db..2028d6de8e 100644
--- a/interp/topconstr.ml
+++ b/interp/topconstr.ml
@@ -202,6 +202,7 @@ let rec match_ alp metas sigma a1 a2 = match (a1,a2) with
match_ alp metas (match_ alp metas sigma c1 c2) t1 t2
| RSort (_,s1), ASort s2 when s1 = s2 -> sigma
| RHole _, a -> sigma
+ | RMeta _, AHole _ -> (*Don't hide Metas, they bind in ltac*) raise No_match
| a, AHole _ -> sigma
| (RDynamic _ | RRec _ | REvar _), _
| _,_ -> raise No_match