summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_man.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocamldoc/odoc_man.ml')
-rw-r--r--ocamldoc/odoc_man.ml8
1 files changed, 6 insertions, 2 deletions
diff --git a/ocamldoc/odoc_man.ml b/ocamldoc/odoc_man.ml
index 037dee02d..dae2ff986 100644
--- a/ocamldoc/odoc_man.ml
+++ b/ocamldoc/odoc_man.ml
@@ -478,10 +478,10 @@ class man =
bs b "(* ";
self#man_of_text b t;
bs b " *)\n "
- | [], None, Some r ->
+ | [], None, Some r ->
bs b "\n.B : ";
self#man_of_type_expr b father r;
- bs b " "
+ bs b " "
| [], (Some t), Some r ->
bs b "\n.B : ";
self#man_of_type_expr b father r;
@@ -999,6 +999,8 @@ class man =
| Res_attribute a -> Name.simple a.att_value.val_name
| Res_method m -> Name.simple m.met_value.val_name
| Res_section _ -> assert false
+ | Res_recfield (_,f) -> f.rf_name
+ | Res_const (_,f) -> f.vc_name
in
let all_items_pre = Odoc_info.Search.search_by_name module_list (Str.regexp ".*") in
let all_items = List.filter
@@ -1040,6 +1042,8 @@ class man =
| Res_attribute a -> a.att_value.val_name
| Res_method m -> m.met_value.val_name
| Res_section (s,_) -> s
+ | Res_recfield (_,f) -> f.rf_name
+ | Res_const (_,f) -> f.vc_name
)
in
let date = Unix.time () in