From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA04294; Fri, 11 Oct 2002 15:21:19 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA03926 for ; Fri, 11 Oct 2002 15:21:18 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9BDLH517565 for ; Fri, 11 Oct 2002 15:21:17 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id PAA01163 for caml-list@inria.fr; Fri, 11 Oct 2002 15:21:12 +0200 Date: Fri, 11 Oct 2002 15:21:12 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] What's wrong with pa_o.cmo? Message-ID: <20021011152112.B801@verdot.inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ll189417@zodiac.mimuw.edu.pl on Fri, Oct 11, 2002 at 02:40:13PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Fri, Oct 11, 2002 at 02:40:13PM +0200, Lukasz Lew wrote: > When i call: > camlp4 pa_o.cmo pr_o.cmo -cip file.ml > Comments inside functions dissappear. > While when: > camlp4 pa_r.cmo pr_r.cmo -cip file.ml > 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? -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- 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