diff options
| author | herbelin | 2001-03-01 14:02:59 +0000 |
|---|---|---|
| committer | herbelin | 2001-03-01 14:02:59 +0000 |
| commit | 7b6ed1e95bef26f4ae85d7471985128c0dfdbc15 (patch) | |
| tree | a2beab552c8e57d5db2833494e5cc79e6374cc84 /toplevel/errors.ml | |
| parent | 2a9a43be51ac61e04ebf3fce902899155b48057f (diff) | |
Déplacement de qualid dans Nametab, hors du noyau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1419 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/errors.ml')
| -rw-r--r-- | toplevel/errors.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toplevel/errors.ml b/toplevel/errors.ml index cde9421d03..f04e99e79c 100644 --- a/toplevel/errors.ml +++ b/toplevel/errors.ml @@ -63,6 +63,11 @@ let rec explain_exn_default = function hOV 0 [< 'sTR "Error:"; 'sPC; Himsg.explain_inductive_error e >] | Logic.RefinerError e -> hOV 0 [< 'sTR "Error:"; 'sPC; Himsg.explain_refiner_error e >] + | Nametab.GlobalizationError q -> + hOV 0 [< 'sTR "Error:"; 'sPC; + 'sTR "The reference"; 'sPC; Nametab.pr_qualid q; + 'sPC ; 'sTR "was not found"; + 'sPC ; 'sTR "in the current"; 'sPC ; 'sTR "environment" >] | Tacmach.FailError i -> hOV 0 [< 'sTR "Error: Fail tactic always fails (level "; 'iNT i; 'sTR")." >] |
