Nicolas Pouillard wrote:
Excerpts from tmp123's message of Sun Jan 20 18:56:27 +0100 2008:
  
Please, when the following small source is passed to ocamldoc (ocamldoc 
-pp camlp4r -html foo.ml), the comment "another type" is not asigned to 
type "bar", but joined to the comment of B constructor in type "foo".
    

The current pretty-printer is still buggy about comment preservation :/

  


Ooops, thats explains the subject. Thanks a lot for the reply.

Sometimes, I'm wondering if it is very illogic a language (aka compiler, aka syntax) whom handles comments not as text to strip at the firsts stages, but as statements that doesn't produces code.

Kind regards.