aboutsummaryrefslogtreecommitdiff
path: root/toplevel
diff options
context:
space:
mode:
authorherbelin2011-08-30 14:35:58 +0000
committerherbelin2011-08-30 14:35:58 +0000
commite136645178f91b821bb444fa86f615caa1873c1c (patch)
treebcf4991891bfdd95e34ed50c48aa6330826ae4c7 /toplevel
parent984890d972aaa0586b509058dc4fcea5f2c3ca2d (diff)
Quick improvement of some error messages related to module application
(localization of the error and hopefully improved messages) [Is there a reason why the restriction is not enforced at the parsing level? Anyway, treating it at interpretation time allows more appropriate messages] git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14422 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/himsg.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/himsg.ml b/toplevel/himsg.ml
index 06fc7e663a..1bd680144b 100644
--- a/toplevel/himsg.ml
+++ b/toplevel/himsg.ml
@@ -579,7 +579,7 @@ let explain_label_already_declared l =
str ("The label "^string_of_label l^" is already declared.")
let explain_application_to_not_path _ =
- str "Application to not path."
+ str "Application of modules is restricted to paths."
let explain_not_a_functor mtb =
str "Application of not a functor."
@@ -668,7 +668,7 @@ let explain_incorrect_with_in_module () =
str "The syntax \"with\" is not allowed for modules."
let explain_incorrect_module_application () =
- str "Module application to a module type."
+ str "Illegal application to a module type."
open Modintern