Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* 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

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