From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 9623FBC69 for ; Mon, 6 Aug 2007 14:14:23 +0200 (CEST) Received: from orion.metastack.com (orion.metastack.com [80.177.38.218]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l76CEMcE010979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 6 Aug 2007 14:14:23 +0200 Received: from treble (cpc2-cmbg6-0-0-cust535.cmbg.cable.ntl.com [81.107.34.24]) (authenticated bits=0) by orion.metastack.com (8.13.4/8.13.3) with ESMTP id l76C1I2m001441 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 6 Aug 2007 13:01:20 +0100 From: "David Allsopp" To: References: <1186355977.6523.55.camel@rosella.wigram><666572260708060036k26f20557j6167e94bca3e5dc@mail.gmail.com> <666572260708060234q22951768uadb275d4bc498ad8@mail.gmail.com> Subject: RE: [Caml-list] ocamlbuild Date: Mon, 6 Aug 2007 13:14:18 +0100 Organization: MetaStack Solutions Ltd. Message-ID: <005501c7d823$5164e450$6a7ba8c0@treble> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <666572260708060234q22951768uadb275d4bc498ad8@mail.gmail.com> Thread-Index: AcfYDErUZDm4PcbQRi6ms/RD+oWG0QAFlbNA X-Miltered: at discorde with ID 46B7109E.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; val:01 toploop:01 val:01 printf:01 printf:01 findlib:01 mingw:01 caml-list:01 int:01 compiling:02 string:02 string:02 seems:03 unit:03 let:03 > I was debugguing a regular-expression and noticed that \" in a string > remained as-is and this somehow seems linked to my quotation problem : >=A0 # let a=3D"\"";; >=A0 val a : string =3D "\"" What you're seeing here is the pretty-printer in the toploop which = passes string values through String.escaped: # let a =3D "\"";; val a : string =3D "\"" # String.length a;; - : int =3D 1 # Printf.printf "%s\n" a;; " - : unit =3D () I had the same problem with findlib compiling under the MinGW port and = had to remove Filename.quote in the same way... David