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 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id C4074BBCA for ; Thu, 17 Apr 2008 20:35:25 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAKo1B0jAXQIm/2dsb2JhbACKeqI1 X-IronPort-AV: E=Sophos;i="4.25,672,1199660400"; d="asc'?scan'208";a="11039157" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 17 Apr 2008 20:35:25 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m3HIZOVs015195 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 17 Apr 2008 20:35:25 +0200 X-IronPort-AV: E=Sophos;i="4.25,672,1199660400"; d="asc'?scan'208";a="11581959" Received: from peray.inria.fr (HELO ausone.inria.fr) ([128.93.8.98]) by mail3-relais-sop.national.inria.fr with SMTP; 17 Apr 2008 20:35:13 +0200 Received: by ausone.inria.fr (sSMTP sendmail emulation); Thu, _d Apr 2008 20:35:07 +0200 From: "Nicolas Pouillard" Cc: caml-list Subject: Re: [Caml-list] [camlp4] str_item filters & toplevel? To: Martin Jambon References: <1208443348-sup-5838@ausone.inria.fr> In-Reply-To: Date: Thu, 17 Apr 2008 20:35:07 +0200 Message-Id: <1208457210-sup-4981@ausone.local> User-Agent: Sup/git Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1208457307-222187-79442-4129-9-="; micalg="pgp-sha1" MIME-Version: 1.0 X-Miltered: at discorde with ID 4807986C.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 toplevel:01 wiki:01 camlp:01 toplevel:01 patching:01 bug:01 bug:01 wrote:01 caml-list:01 ast:02 module:03 aka:04 thu:05 thu:05 X-Attachments: cset="UTF-8" type="application/pgp-signature" name="signature.asc" name="signature.asc" --=-1208457307-222187-79442-4129-9-= Content-Type: text/plain; charset=UTF-8 Excerpts from Martin Jambon's message of Thu Apr 17 17:25:20 +0200 2008: > On Thu, 17 Apr 2008, Nicolas Pouillard wrote: > > > Excerpts from Martin Jambon's message of Thu Apr 17 16:17:15 +0200 2008: > >> I started from the wiki page describing how to use AST filters: > >> http://brion.inria.fr/gallium/index.php/Camlp4MapGenerator > >> > >> The example doesn't work in the toplevel (3.10.1), although it works > >> otherwise. How to make it work? > > > > By patching the camlp4 sources :) > > Is it a bug that has to be fixed? It could be seen as a bug, but the behavior is not completely clear, since applying the filters to each toplevel phrase is different from calling them only once on the whole module implem. > If it's already fixed, which version? Not already fixed. -- Nicolas Pouillard aka Ertai --=-1208457307-222187-79442-4129-9-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkgHmFsACgkQj+FCNw9dwLm7ewCgmLzz09HoNwL6c8nYa5HRI9WN YAsAn1SKF35ZzmCN4+igRNln1UmFVYXA =1ZtQ -----END PGP SIGNATURE----- --=-1208457307-222187-79442-4129-9-=--