Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jan Kybic <kybic@fel.cvut.cz>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Q: ocamldoc error, camlp4, syntax differences
Date: 23 Apr 2004 11:54:02 +0200	[thread overview]
Message-ID: <m2u0zb9g05.fsf@cmpgw-ii-05.felk.cvut.cz> (raw)

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 <kybic@ieee.org>                  tel. +420 2 2435 7264
       or <kybic@fel.cvut.cz>,     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


             reply	other threads:[~2004-04-23  9:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23  9:54 Jan Kybic [this message]
2004-04-23 12:30 ` Maxence Guesdon
     [not found]   ` <m2hdva968e.fsf@cmpgw-ii-05.felk.cvut.cz>
     [not found]     ` <20040423180508.02119dc3@tintin.inria.fr>
2004-04-27 15:07       ` Jan Kybic

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=m2u0zb9g05.fsf@cmpgw-ii-05.felk.cvut.cz \
    --to=kybic@fel.cvut.cz \
    --cc=caml-list@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