diff options
Diffstat (limited to 'ocamldoc/odoc_ast.ml')
-rw-r--r-- | ocamldoc/odoc_ast.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ocamldoc/odoc_ast.ml b/ocamldoc/odoc_ast.ml index 3c6fa92d2..337592c85 100644 --- a/ocamldoc/odoc_ast.ml +++ b/ocamldoc/odoc_ast.ml @@ -66,6 +66,8 @@ module Typedtree_search = match tt with | Typedtree.Tstr_module (ident, _) -> Hashtbl.add table (M (Name.from_ident ident)) tt + | Typedtree.Tstr_recmodule bindings -> + assert false (* to be fixed *) | Typedtree.Tstr_modtype (ident, _) -> Hashtbl.add table (MT (Name.from_ident ident)) tt | Typedtree.Tstr_exception (ident, _) -> @@ -1104,6 +1106,9 @@ module Analyser = raise (Failure (Odoc_messages.module_not_found_in_typedtree complete_name)) ) + | Parsetree.Pstr_recmodule bindings -> + assert false (* to be fixed *) + | Parsetree.Pstr_modtype (name, modtype) -> let complete_name = Name.concat current_module_name name in let tt_module_type = |