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.4 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id E8D89BB84 for ; Thu, 9 Oct 2008 20:41:54 +0200 (CEST) X-IronPort-AV: E=Sophos;i="4.33,384,1220220000"; d="asc'?scan'208";a="30098485" Received: from peray.inria.fr (HELO ausone.inria.fr) ([128.93.8.98]) by mail4-relais-sop.national.inria.fr with SMTP; 09 Oct 2008 20:41:54 +0200 Received: by ausone.inria.fr (sSMTP sendmail emulation); Thu, _d Oct 2008 20:41:08 +0200 From: "Nicolas Pouillard" Cc: Caml_mailing list Subject: Re: [Caml-list] More problems with simple quotation parser To: John Harrison References: In-Reply-To: Date: Thu, 09 Oct 2008 20:41:08 +0200 Message-Id: <1223577428-sup-7998@ausone.local> User-Agent: Sup/git Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1223577668-413559-50294-654-12-="; micalg="pgp-sha1" MIME-Version: 1.0 X-Spam: no; 0.00; parser:01 parser:01 camlp:01 lexer:01 tokens:01 ocaml:01 lexer:01 ocaml:01 syntax:01 tokens:01 caml-list:01 cma:01 variant:02 transformed:02 string:02 X-Attachments: cset="UTF-8" type="application/pgp-signature" name="signature.asc" name="signature.asc" --=-1223577668-413559-50294-654-12-= Content-Type: text/plain; charset=UTF-8 Excerpts from John Harrison's message of Sun Sep 21 20:47:15 +0200 2008: > I've hit another problem with the simple string transformation > quotation parser (see my previous message). For the sake of this > example, here is a somewhat simplified variant, which I turn > into "Quotexpander.cma": [...] > Any idea what's going on? Do I need to put some kind of wrapping > round the transformed phrase? The camlp4 lexer allow much longer bracketing tokens like [<, >], [%, {#, ... ) so when using extensions of OCaml (since this lexer extension does not break any OCaml code in original syntax) one have to put more spaces to make separate tokens. -- Nicolas Pouillard aka Ertai --=-1223577668-413559-50294-654-12-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjuUEQACgkQj+FCNw9dwLko4ACfa8kLlCiLnPJnZMfiL9HSYh5e N/QAnjOgus78mFj2u/2o/SddTDAfulw8 =/0An -----END PGP SIGNATURE----- --=-1223577668-413559-50294-654-12-=--