aboutsummaryrefslogtreecommitdiff
path: root/toplevel/errors.ml
diff options
context:
space:
mode:
authorherbelin2001-09-07 13:07:17 +0000
committerherbelin2001-09-07 13:07:17 +0000
commit47d1e4d9d09dee1fccce3e2d7b1c7330440bd318 (patch)
tree05b1a2c365530a8b517f1ac8a678900b9e3066b3 /toplevel/errors.ml
parent18e28049e62ce80a45c8f7bd6f496b502caa8ad1 (diff)
Suppression des library roots, on teste si un nom est absolu autrement
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1927 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/errors.ml')
-rw-r--r--toplevel/errors.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/toplevel/errors.ml b/toplevel/errors.ml
index 11e7c38ccd..cf48f0764c 100644
--- a/toplevel/errors.ml
+++ b/toplevel/errors.ml
@@ -81,6 +81,9 @@ let rec explain_exn_default = function
'sTR "The reference"; 'sPC; Nametab.pr_qualid q;
'sPC ; 'sTR "was not found";
'sPC ; 'sTR "in the current"; 'sPC ; 'sTR "environment" >]
+ | Nametab.GlobalizationConstantError q ->
+ hOV 0 [< 'sTR "Error:"; 'sPC;
+ 'sTR "No constant of this name:"; 'sPC; Nametab.pr_qualid q >]
| Tacmach.FailError i ->
hOV 0 [< 'sTR "Error: Fail tactic always fails (level ";
'iNT i; 'sTR")." >]