From 6a778f81c7faa5676ee51cc7b0814b4a905d3889 Mon Sep 17 00:00:00 2001 From: herbelin Date: Sun, 19 Jan 2003 22:39:49 +0000 Subject: Utilisation d'une exception 'catchable' git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3535 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tactics/tacinterp.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tactics') diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml index 5319b4fc0..aa1f37a83 100644 --- a/tactics/tacinterp.ml +++ b/tactics/tacinterp.ml @@ -876,7 +876,7 @@ let eval_variable ist gl (loc,id) = (* Then look if bound in the proof context at calling time *) if is_variable (pf_env gl) id then id else - Pretype_errors.error_var_not_found_loc loc id + user_err_loc (loc,"eval_variable",pr_id id ++ str " not found") let hyp_interp = eval_variable -- cgit v1.2.3