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 OAA02991; Fri, 23 Apr 2004 14:30:59 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA03003 for ; Fri, 23 Apr 2004 14:30:58 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i3NCUvjq032169 for ; Fri, 23 Apr 2004 14:30:57 +0200 Received: from tintin.inria.fr (tintin.inria.fr [128.93.24.126]) by pauillac.inria.fr (8.7.6/8.7.3) with SMTP id OAA03052 for ; Fri, 23 Apr 2004 14:30:57 +0200 (MET DST) Date: Fri, 23 Apr 2004 14:30:56 +0200 From: Maxence Guesdon To: caml-list@inria.fr Subject: Re: [Caml-list] Q: ocamldoc error, camlp4, syntax differences Message-Id: <20040423143056.6d7826a7@tintin.inria.fr> In-Reply-To: References: Organization: INRIA X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; maxence:01 guesdon:01 maxence:01 guesdon:01 caml-list:01 ocamldoc:01 camlp:01 2004:99 ocamldoc:01 parsetree:01 bug:01 bug:01 preprocessed:01 camlp:01 ocamlfind:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, On 23 Apr 2004 11:54:02 +0200 Jan Kybic wrote: > Hello, > I am generating documentation for my Ocaml code with ocamldoc. > > I have several questions: > > 1) On some files, ocamldoc fails with: > > analyse_module: parsetree and typedtree don't match. > > What does this error message mean? I could not find it anywhere. > If it is a bug, I can send the offending file to the responsible > person. You can send the file to me, thanks. I already heard about a similar bug and will investigate soon. > 2) Some files are to be preprocessed by Camlp4 in order to use the > stream syntax. Is there a way to tell ocamldoc to preprocess only > some sources files? I am using OCamlMakefile and I set: > > OCAMLDOC = ocamlfind ocamldoc -package lacaml,str No you can't. But you can use the -dump and -load options to do what you want: ocamldoc -dump t.odoc -pp "...." ocamldoc -load t.odoc Moreover, you can use the -load option several times. -- Maxence Guesdon ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners