summaryrefslogtreecommitdiff
path: root/ocamldoc
diff options
context:
space:
mode:
authorPierre Weis <Pierre.Weis@inria.fr>2011-10-25 13:13:54 +0000
committerPierre Weis <Pierre.Weis@inria.fr>2011-10-25 13:13:54 +0000
commit2a2fcade52c32f339195dc8ed2b2fcad53081da6 (patch)
tree05651f6f429af3277c7e0087a06b9b4837f013c0 /ocamldoc
parenta1704c30b11b78367062e63fc6ccb686cc69fe2c (diff)
downloadocaml-2a2fcade52c32f339195dc8ed2b2fcad53081da6.tar.gz
Bug #4380.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc')
-rw-r--r--ocamldoc/odoc_info.ml18
1 files changed, 9 insertions, 9 deletions
diff --git a/ocamldoc/odoc_info.ml b/ocamldoc/odoc_info.ml
index 061d091f53..047fa2b5bb 100644
--- a/ocamldoc/odoc_info.ml
+++ b/ocamldoc/odoc_info.ml
@@ -213,12 +213,12 @@ let info_string_of_info i =
| Some t -> p b "%s" (escape_arobas (text_string_of_text t))
);
List.iter
- (fun s -> p b "\n@author %s" (escape_arobas s))
+ (fun s -> p b "\n@@author %s" (escape_arobas s))
i.i_authors;
(
match i.i_version with
None -> ()
- | Some s -> p b "\n@version %s" (escape_arobas s)
+ | Some s -> p b "\n@@version %s" (escape_arobas s)
);
(
(* TODO: escape characters ? *)
@@ -229,7 +229,7 @@ let info_string_of_info i =
in
List.iter
(fun (sref, t) ->
- p b "\n@see %s %s"
+ p b "\n@@see %s %s"
(escape_arobas (f_see_ref sref))
(escape_arobas (text_string_of_text t))
)
@@ -238,25 +238,25 @@ let info_string_of_info i =
(
match i.i_since with
None -> ()
- | Some s -> p b "\n@since %s" (escape_arobas s)
+ | Some s -> p b "\n@@since %s" (escape_arobas s)
);
(
match i.i_deprecated with
None -> ()
| Some t ->
- p b "\n@deprecated %s"
+ p b "\n@@deprecated %s"
(escape_arobas (text_string_of_text t))
);
List.iter
(fun (s, t) ->
- p b "\n@param %s %s"
+ p b "\n@@param %s %s"
(escape_arobas s)
(escape_arobas (text_string_of_text t))
)
i.i_params;
List.iter
(fun (s, t) ->
- p b "\n@raise %s %s"
+ p b "\n@@raise %s %s"
(escape_arobas s)
(escape_arobas (text_string_of_text t))
)
@@ -265,12 +265,12 @@ let info_string_of_info i =
match i.i_return_value with
None -> ()
| Some t ->
- p b "\n@return %s"
+ p b "\n@@return %s"
(escape_arobas (text_string_of_text t))
);
List.iter
(fun (s, t) ->
- p b "\n@%s %s" s
+ p b "\n@@%s %s" s
(escape_arobas (text_string_of_text t))
)
i.i_custom;