Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: tmp123@menta.net
To: caml-list@yquem.inria.fr
Subject: ocamldoc, camlp4r and variant
Date: Sun, 20 Jan 2008 18:56:27 +0100	[thread overview]
Message-ID: <47938B4B.60902@menta.net> (raw)

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 *)
];


             reply	other threads:[~2008-01-20 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-20 17:56 tmp123 [this message]
2008-01-21 12:29 ` [Caml-list] " Nicolas Pouillard
2008-01-21 13:17   ` tmp123
2008-01-21 13:36   ` tmp123

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47938B4B.60902@menta.net \
    --to=tmp123@menta.net \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox