diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-03-05 16:42:42 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-03-05 16:42:42 +0000 |
commit | 19d89158f4e0e4be5998f2ff9b64e90270977a32 (patch) | |
tree | 99dd65665fdbfe64be95cb870da5e710ec4d8c8e /interp/modintern.mli | |
parent | 0c2dd4a32538ebda7c964c249f158054b6cc2e1a (diff) |
Moving printing of module typing errors upwards to himsg.ml so as to
be able to call term printers.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13886 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp/modintern.mli')
-rw-r--r-- | interp/modintern.mli | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/interp/modintern.mli b/interp/modintern.mli index a29480663..71a00c2fe 100644 --- a/interp/modintern.mli +++ b/interp/modintern.mli @@ -14,8 +14,17 @@ open Libnames open Names open Topconstr +(** Module internalization errors *) + +type module_internalization_error = + | NotAModuleNorModtype of string + | IncorrectWithInModule + | IncorrectModuleApplication + +exception ModuleInternalizationError of module_internalization_error + (** Module expressions and module types are interpreted relatively to - eventual functor or funsig arguments. *) + possible functor or functor signature arguments. *) val interp_modtype : env -> module_ast -> module_struct_entry |