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] What's wrong with pa_o.cmo?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-11 (13:21)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] What's wrong with pa_o.cmo?

On Fri, Oct 11, 2002 at 02:40:13PM +0200, Lukasz Lew wrote:

> When i call:
>   camlp4 pa_o.cmo pr_o.cmo -cip
> Comments inside functions dissappear.
> While when:
>   camlp4 pa_r.cmo pr_r.cmo -cip
> They are preserved.
> Both printers are ok with pa_r.cmo so what's wrong with pa_o.cmo?

The comments concern the pretty printers pr_o.cmo and pr_r.cmo, not
the parsers. Well, hmmm... if comments disappear in your programs,
it may be some cases missing in pr_o.cmo. Could you send me your
examples? Which version of Camlp4 do you have, BTW?

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