aboutsummaryrefslogtreecommitdiff
path: root/kernel/closure.ml
diff options
context:
space:
mode:
authorbarras2005-07-12 14:34:05 +0000
committerbarras2005-07-12 14:34:05 +0000
commitf64bad5f41cf5a76abfbb003c9f06eb670b2b126 (patch)
tree5ba20326083690b114a88ffaef954308314721ba /kernel/closure.ml
parentc9e4ab53034ca580429e38f83ca8df48cd40942c (diff)
test du tag de reduction
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7208 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/closure.ml')
-rw-r--r--kernel/closure.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/closure.ml b/kernel/closure.ml
index 2f83657d06..9725e779cc 100644
--- a/kernel/closure.ml
+++ b/kernel/closure.ml
@@ -968,6 +968,7 @@ let contract_fix_vect fix =
constructor, cofix, letin, constant), or a neutral term (product,
inductive) *)
let rec knh m stk =
+ if is_val m then (incr prune; (m,stk)) else
match m.term with
| FLIFT(k,a) -> knh a (zshift k stk)
| FCLOS(t,e) -> knht e t (zupdate m stk)