diff options
Diffstat (limited to 'interp')
| -rw-r--r-- | interp/modintern.ml | 8 | ||||
| -rw-r--r-- | interp/topconstr.ml | 4 | ||||
| -rw-r--r-- | interp/topconstr.mli | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/interp/modintern.ml b/interp/modintern.ml index 56fc8cb5ef..f077bea93d 100644 --- a/interp/modintern.ml +++ b/interp/modintern.ml @@ -79,10 +79,10 @@ let lookup_modtype (loc,qid) = Modops.error_not_a_modtype_loc loc (string_of_qualid qid) let transl_with_decl env = function - | CWith_Module ((_,id),qid) -> - With_Module (id,lookup_module qid) - | CWith_Definition ((_,id),c) -> - With_Definition (id,interp_constr Evd.empty env c) + | CWith_Module ((_,fqid),qid) -> + With_Module (fqid,lookup_module qid) + | CWith_Definition ((_,fqid),c) -> + With_Definition (fqid,interp_constr Evd.empty env c) let rec interp_modtype env = function | CMTEident qid -> diff --git a/interp/topconstr.ml b/interp/topconstr.ml index f18be16cc7..9c155f854b 100644 --- a/interp/topconstr.ml +++ b/interp/topconstr.ml @@ -720,8 +720,8 @@ let rec replace_vars_constr_expr l = function (* Concrete syntax for modules and modules types *) type with_declaration_ast = - | CWith_Module of identifier located * qualid located - | CWith_Definition of identifier located * constr_expr + | CWith_Module of identifier list located * qualid located + | CWith_Definition of identifier list located * constr_expr type module_type_ast = | CMTEident of qualid located diff --git a/interp/topconstr.mli b/interp/topconstr.mli index 9b9dd80dc4..4cfa0a0da7 100644 --- a/interp/topconstr.mli +++ b/interp/topconstr.mli @@ -159,8 +159,8 @@ val map_constr_expr_with_binders : (* Concrete syntax for modules and modules types *) type with_declaration_ast = - | CWith_Module of identifier located * qualid located - | CWith_Definition of identifier located * constr_expr + | CWith_Module of identifier list located * qualid located + | CWith_Definition of identifier list located * constr_expr type module_type_ast = | CMTEident of qualid located |
