From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA16878; Wed, 10 Oct 2001 15:29:46 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA16855 for ; Wed, 10 Oct 2001 15:29:45 +0200 (MET DST) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.44.193]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f9ADTh129497; Wed, 10 Oct 2001 15:29:44 +0200 (MET DST) Received: (from luther@localhost) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) id PAA03320; Wed, 10 Oct 2001 15:29:29 +0200 Date: Wed, 10 Oct 2001 15:29:29 +0200 From: Sven To: Maxence Guesdon Cc: Dave Berry , caml-list@inria.fr Subject: Re: [Caml-list] Re: [Caml-announce] OCamldoc Message-ID: <20011010152929.B3177@dpt-info.u-strasbg.fr> References: <8E31D6933A2FE64F8AE3CC1381EEDCE7140118@NT.kal.com> <3BC3334E.30102@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3BC3334E.30102@inria.fr>; from maxence.guesdon@inria.fr on Tue, Oct 09, 2001 at 01:26:38PM -0400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Oct 09, 2001 at 01:26:38PM -0400, Maxence Guesdon wrote: > Dave Berry wrote: > > Would it be possible for OCamldoc to detect whether the comment follows > > a definition on the same line? If so, then you could use this to infer > > that the comment refers to that definition. If the comment begins on a > > new line, the comment would refer to the following definition. > > > > In some case, you want to start the comment on the line after, because > it 's a long comment, maybe on more than one line, like in > > type t = > C of int > (** my long comment i didn't want ot start on the line above. *) > | C2 > > so here we don't want to associate this comment to C2 but to C. But this same argument could be reversed : type t = C of (** short comment **) Here, it makes more sense to have it first. Friendly, Sven Luther ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr