From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 76FD5BC6B for ; Mon, 21 Jan 2008 13:30:54 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.25,227,1199660400"; d="scan'208";a="21545307" Received: from peray.inria.fr (HELO ausone.inria.fr) ([128.93.8.98]) by mail4-relais-sop.national.inria.fr with SMTP; 21 Jan 2008 13:30:54 +0100 Received: by ausone.inria.fr (sSMTP sendmail emulation); Mon, _d Jan 2008 13:29:54 +0100 From: "Nicolas Pouillard" Content-Type: text/plain; charset=UTF-8 Cc: caml-list Subject: Re: [Caml-list] ocamldoc, camlp4r and variant To: tmp123 References: <47938B4B.60902@menta.net> In-Reply-To: <47938B4B.60902@menta.net> Date: Mon, 21 Jan 2008 13:29:54 +0100 Message-Id: <1200918520-sup-7748@ausone.inria.fr> User-Agent: Sup/git X-Spam: no; 0.00; ocamldoc:01 camlp:01 ocamldoc:01 -pp:01 camlp:01 -html:01 foo:01 foo:01 preservation:98 caml-list:01 constructor:01 variant:02 blank:97 aka:04 tmp:05 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