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
ocamldoc, camlp4r and variant
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: tmp123 <tmp123@m...>
Subject: Re: [Caml-list] ocamldoc, camlp4r and variant
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Nicolas Pouillard wrote:
<blockquote cite="" type="cite">
  <pre wrap="">Excerpts from tmp123's message of Sun Jan 20 18:56:27 +0100 2008:
  <blockquote type="cite">
    <pre wrap="">Hello,

Please, when the following small source is passed to ocamldoc (ocamldoc 
-pp camlp4r -html, the comment "another type" is not asigned to 
type "bar", but joined to the comment of B constructor in type "foo".

  <pre wrap=""><!---->
The current pretty-printer is still buggy about comment preservation :/

Ooops, thats explains the subject. Thanks a lot for the reply.<br>
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.<br>
Kind regards.<br>