From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 57FD3BB9C for ; Thu, 5 Jan 2006 14:59:45 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k05DxivY011671 for ; Thu, 5 Jan 2006 14:59:45 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA17806 for ; Thu, 5 Jan 2006 14:59:44 +0100 (MET) Received: from tcmail21.telekom.de (tcmail21.telekom.de [217.6.95.235]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k05DxhGl011664; Thu, 5 Jan 2006 14:59:44 +0100 Received: from g9jbq.mgb01.telekom.de (g9jbq.mgb01.telekom.de [164.20.31.5]) by tcmail21.dmz.telekom.de with ESMTP; Thu, 5 Jan 2006 14:55:40 +0100 Received: by G9JBQ.mgb01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Jan 2006 14:55:39 +0100 Message-Id: <97A461F3EE5284469E41ED3728202F41121F19@S4DE9JSAAMW.ost.t-com.de> From: "Beck01, Wolfgang" To: Michel.Mauny@inria.fr Cc: caml-list@inria.fr Subject: AW: [Caml-list] camlp4o and lazy: pr_o: not impl: expr; tag = 19 Date: Thu, 5 Jan 2006 14:55:35 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Miltered: at nez-perce with ID 43BD2650.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43BD264F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; t-systems:01 caml-list:01 camlp:01 lazy:01 impl:01 expr:01 bug:01 cvs:01 expr:01 camlp:01 cmo:01 cmo:01 -pp:01 syntax:01 ocaml:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Michel, > This is a bug, and I've fixed it in the CVS. Note that you=20 > have the same (buggy) behavior with <:expr< assert e >>. >=20 > Both of them happen only when pretty-printing the result, as=20 > done by "camlp4o ./g3.cmo pr_o.cmo". If you use "camlp4o=20 > ./g3.cmo" as a preprocessor to ocaml=E7ocamlopt (through the=20 > -pp option), then the syntax tree produced by camlp4o is correct. >=20 I should have mentioned my ocaml version (3.08.3). Thank you very much for the tip. You are doing a great job. Wolfgang