From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p6C9HVmd009316 for ; Tue, 12 Jul 2011 11:17:31 +0200 X-IronPort-AV: E=Sophos;i="4.65,520,1304287200"; d="scan'208";a="113001503" Received: from mp-57040.rocqadm.inria.fr ([128.93.57.40]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA; 12 Jul 2011 11:17:26 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: xclerc In-Reply-To: Date: Tue, 12 Jul 2011 11:17:26 +0200 Cc: xclerc Clerc Message-Id: References: To: caml users X-Mailer: Apple Mail (2.1084) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p6C9HVmd009316 Subject: Re: [Caml-list] Quotation issue with camlp4 printer Le 11 juil. 2011 à 21:05, Petter Urkedal a écrit : > The attached program prints out > > let x = """;; > > when compiled with ocamlc and camlp4 version 3.12.0. As you can see, > the string literal lacks an escape character. I haven't tried version > 3.12.1, but I didn't find anything about it in the release notes. (To > reproduce: > > ocamlc.opt -c -I +camlp4 -pp camlp4orf -o quotation_bug.cmo quotation_bug.ml > ocamlc.opt dynlink.cma -I +camlp4 camlp4lib.cma quotation_bug.cmo > -o quotation_bug.byte > ./quotation_bug.byte > ) The problem was also present in 3.12.1 and is now fixed in the SVN repository in branch "version/3.12". Thanks for reporting the problem. Nevertheless I would like to point out that you may also report it directly through the bugtracker (*). Regards, Xavier Clerc (*) http://caml.inria.fr/mantis