summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_ast.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2003-06-19 15:53:53 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2003-06-19 15:53:53 +0000
commit1fa763e0c58fa76de0bfaf879f7fdd63ca99f0ec (patch)
treeb5b6ccb30ef36b441b794d55c74841533e1a5c11 /ocamldoc/odoc_ast.ml
parentb55c04a78864716f083b03fcdacddd2939e81d6e (diff)
Merge branch with recursive modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc/odoc_ast.ml')
-rw-r--r--ocamldoc/odoc_ast.ml5
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 =