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.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 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 78CA3BBCA for ; Tue, 6 May 2008 18:10:15 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYCALcfIEjAXQIniGdsb2JhbACRfAEBAQ8glDSFSQ X-IronPort-AV: E=Sophos;i="4.27,444,1204498800"; d="scan'208";a="11909788" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 May 2008 18:10:15 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m46GAEFK013390 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 6 May 2008 18:10:15 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEDAEMfIEhA6ba+d2dsb2JhbACRfAEMBQIECQ8FlC+FRg X-IronPort-AV: E=Sophos;i="4.27,444,1204498800"; d="scan'208";a="25890833" Received: from nf-out-0910.google.com ([64.233.182.190]) by mail4-smtp-sop.national.inria.fr with ESMTP; 06 May 2008 18:10:14 +0200 Received: by nf-out-0910.google.com with SMTP id d3so1386726nfc.7 for ; Tue, 06 May 2008 09:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=JkabV0QnVyf+gp1aDDxgrzprIJOayeTbLyZGln3Ohso=; b=C8T8VZ3l8nVmlHZh8EkBNpyP2bEddYnCDmLnT6w5rI+l0CpjHf2uJWA8Gh3l7EV/hODDPW3ou+WgSZXVIBtxMO0emEeI9O1TokekU1mApbb7Z5JtGASOs0YpeUVcITSqsLQ0qLnPaMCrIvQ+X0hdknTqXixeXzjFqrj2DkhGr/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N/tImjem9lnc6O7W6A+HG2oSuZirEWFfYE/aIZAViUgFgirHFrpu5shMzWDB1n4rgLBvZ/GZ36MsALbKn6kBHC0UeH2Fqm2K5AFZvYLnirIvYKNXY9WfXgWWy/+f7Qi0tNr2QUFKhA3ezBrlqav2r1xEM9OqGeJatiynZzCnjuY= Received: by 10.210.136.10 with SMTP id j10mr912224ebd.43.1210090213885; Tue, 06 May 2008 09:10:13 -0700 (PDT) Received: by 10.210.18.2 with HTTP; Tue, 6 May 2008 09:10:13 -0700 (PDT) Message-ID: <6f9f8f4a0805060910v68c19a5dv76f9abcc879f1fb6@mail.gmail.com> Date: Tue, 6 May 2008 18:10:13 +0200 From: "Loup Vaillant" To: "Nicolas Pouillard" Subject: Re: [Caml-list] Help for Camlp4: Pcaml.input_file for 3.10? Cc: caml-list In-Reply-To: <1210069851-sup-8648@port-ext16.ensta.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f9f8f4a0805060257qaeeab15x5c1851099e4650ab@mail.gmail.com> <1210069851-sup-8648@port-ext16.ensta.fr> X-Miltered: at concorde with ID 482082E6.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 pcaml:01 pcaml:01 ocaml:01 camlp:01 wiki:01 preprocessed:01 caml-list:01 loc:03 generally:04 ugly:04 tue:06 variable:06 0200:07 nicolas:08 2008/5/6 Nicolas Pouillard : > Excerpts from Loup Vaillant's message of Tue May 06 11:57:41 +0200 2008: > > > > I would like to know if there is any equivalent > > of Pcaml.input_file in Ocaml 3.10's Camlp4. > > I tried to search the wiki, but with no luck so far. > > [...] > > If I clearly remember this ugly global variable has been removed. OK, I got it, thank you for the fast response. Now, I can have the name of the preprocessed file with _loc. But How can I include a file in another? More generally, do we have a substitute for it? Thanks, Loup