* ocamldoc, camlp4r and variant
@ 2008-01-20 17:56 tmp123
2008-01-21 12:29 ` [Caml-list] " Nicolas Pouillard
0 siblings, 1 reply; 4+ messages in thread
From: tmp123 @ 2008-01-20 17:56 UTC (permalink / raw)
To: caml-list
Hello,
Please, when the following small source is passed to ocamldoc (ocamldoc
-pp camlp4r -html foo.ml), the comment "another type" is not asigned to
type "bar", but joined to the comment of B constructor in type "foo".
I've tried lots of variations, adding blank lines, empty comments, end
comments, ... without success.
Please, knows someone what is wrong on it?
Thanks a lot.
foo.ml:
=======
(** a module *)
(** a type *)
type foo =
[ A (** a constructor *)
| B (** another constructor *)
];
(** another type *)
type bar =
[ C (** a constructor *)
| D (** another constructor *)
];
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] ocamldoc, camlp4r and variant
2008-01-20 17:56 ocamldoc, camlp4r and variant tmp123
@ 2008-01-21 12:29 ` Nicolas Pouillard
2008-01-21 13:17 ` tmp123
2008-01-21 13:36 ` tmp123
0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Pouillard @ 2008-01-21 12:29 UTC (permalink / raw)
To: tmp123; +Cc: caml-list
Excerpts from tmp123's message of Sun Jan 20 18:56:27 +0100 2008:
> Hello,
>
> Please, when the following small source is passed to ocamldoc (ocamldoc
> -pp camlp4r -html foo.ml), the comment "another type" is not asigned to
> type "bar", but joined to the comment of B constructor in type "foo".
>
> I've tried lots of variations, adding blank lines, empty comments, end
> comments, ... without success.
>
> Please, knows someone what is wrong on it?
The current pretty-printer is still buggy about comment preservation :/
--
Nicolas Pouillard aka Ertai
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] ocamldoc, camlp4r and variant
2008-01-21 12:29 ` [Caml-list] " Nicolas Pouillard
@ 2008-01-21 13:17 ` tmp123
2008-01-21 13:36 ` tmp123
1 sibling, 0 replies; 4+ messages in thread
From: tmp123 @ 2008-01-21 13:17 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/html, Size: 1133 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] ocamldoc, camlp4r and variant
2008-01-21 12:29 ` [Caml-list] " Nicolas Pouillard
2008-01-21 13:17 ` tmp123
@ 2008-01-21 13:36 ` tmp123
1 sibling, 0 replies; 4+ messages in thread
From: tmp123 @ 2008-01-21 13:36 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/html, Size: 1129 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-21 13:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-20 17:56 ocamldoc, camlp4r and variant tmp123
2008-01-21 12:29 ` [Caml-list] " Nicolas Pouillard
2008-01-21 13:17 ` tmp123
2008-01-21 13:36 ` tmp123
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox