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 LAA26351; Fri, 23 Apr 2004 11:54:45 +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 LAA26350 for ; Fri, 23 Apr 2004 11:54:44 +0200 (MET DST) Received: from relay.felk.cvut.cz (relay.felk.cvut.cz [147.32.80.7]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3N9shYM010585 for ; Fri, 23 Apr 2004 11:54:43 +0200 Received: from k333.felk.cvut.cz (k333.felk.cvut.cz [147.32.87.5]) by relay.felk.cvut.cz (8.12.11/8.12.11) with ESMTP id i3N9saqJ077823 for ; Fri, 23 Apr 2004 11:54:39 +0200 (CEST) (envelope-from kybic@fel.cvut.cz) Received: from K333/SpoolDir by k333.felk.cvut.cz (Mercury 1.48); 23 Apr 04 11:54:40 +0100 Received: from SpoolDir by K333 (Mercury 1.48); 23 Apr 04 11:54:13 +0100 Received: from cmpgw-ii-05.felk.cvut.cz (147.32.84.2) by k333.felk.cvut.cz (Mercury 1.48) with ESMTP; 23 Apr 04 11:54:04 +0100 To: caml-list Subject: [Caml-list] Q: ocamldoc error, camlp4, syntax differences From: Jan Kybic Date: 23 Apr 2004 11:54:02 +0200 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-felk: Found to be clean X-MailScanner-SpamCheck-felk: not spam, SpamAssassin (score=-4.9, required 5, BAYES_00) X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ocamldoc:01 camlp:01 ocamldoc:01 parsetree:01 bug:01 preprocessed:01 camlp:01 ocamlfind:01 lacaml:01 420:99 -package:01 unify:01 ocaml:01 ocaml:01 preprocess:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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. 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 3) The reason why I am not using camlp4 for everything it that the syntax between ocaml and campl4 is different, the one by camlp4 seems to be more restrictive. Are there any plans to unify the two? Thank you for your help. Jan -- ------------------------------------------------------------------------- Jan Kybic tel. +420 2 2435 7264 or , http://cmp.felk.cvut.cz/~kybic ------------------- 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