aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
diff options
context:
space:
mode:
authorGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2006-06-19 18:54:49 +0000
committerGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2006-06-19 18:54:49 +0000
commitcc68954e80969fbc73b60c1ce6e4ad4ed553ccd7 (patch)
tree9b31c425ee3c80ddeb44dd604545c450ea4643cf /tactics
parent73bbb868b2ad97d994f4f107d8676686009bf18f (diff)
bug serieux efficacite de ltac
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8963 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tacinterp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml
index fef9ba95a..0c7f65c2a 100644
--- a/tactics/tacinterp.ml
+++ b/tactics/tacinterp.ml
@@ -916,7 +916,7 @@ let give_context ctxt = function
(* Reads a pattern by substituing vars of lfun *)
let eval_pattern lfun c =
- let lvar = List.map (fun (id,c) -> (id,pattern_of_constr c)) lfun in
+ let lvar = List.map (fun (id,c) -> (id,lazy(pattern_of_constr c))) lfun in
instantiate_pattern lvar c
let read_pattern evc env lfun = function