Browse thread
[Caml-list] Q: ocamldoc error, camlp4, syntax differences
- Jan Kybic
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 |
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