Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Q: ocamldoc error, camlp4, syntax differences
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jan Kybic <kybic@f...>
Subject: [Caml-list] Q: ocamldoc error, camlp4, syntax differences
        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
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 Kybic <>                  tel. +420 2 2435 7264
       or <>,

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: