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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 0A990BBC1 for ; Wed, 9 Apr 2008 11:46:54 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEADct/EfAXQIm/2dsb2JhbACmYoV9 X-IronPort-AV: E=Sophos;i="4.25,628,1199660400"; d="scan'208";a="9379502" Received: from discorde.inria.fr ([192.93.2.38]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Apr 2008 11:46:53 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m399kraB001830 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 9 Apr 2008 11:46:53 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8BAPss/EfRVYTzc2dsb2JhbACRTQEMAwQFCRSUXIV9 X-IronPort-AV: E=Sophos;i="4.25,628,1199660400"; d="scan'208";a="24790587" Received: from an-out-0708.google.com ([209.85.132.243]) by mail4-smtp-sop.national.inria.fr with ESMTP; 09 Apr 2008 11:46:52 +0200 Received: by an-out-0708.google.com with SMTP id c24so579742ana.97 for ; Wed, 09 Apr 2008 02:46:52 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=8+pVBeyVthe3vJxBs4OJ2qmaQup414I49kSXMUgmekY=; b=IN78qREh0AR8u5whAFBdB9XgMpiyqEExKIwHpN+ij2QqbcTLZ/sY+G94UqpmNas9qrWrmfQYcPP+XSOQnI1fct2Bi+mkORztbDSnPLeBsnt6bmKfYwKB+FF9BkEpOAr6ZnQR8PqTQkDshF1OzYgVRANp8U6Vrp5UeYeZFZ3p06A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rF8FTye3rgRKNC1/KD2OTPGGO5TOspOWB9R7VRn2gkVw+rKPuzsvSBrxwJbiAdBLJ0ZHeyVr36PWZNCKQDayVgVtzBb2n1HGuyzWMN1TXoiURocj+bRKnzsQWLdVaV4/u9yMgRyZ7HT6ieKazN1kNCx/SSp3b+BMWJdNo+b44Fs= Received: by 10.101.71.16 with SMTP id y16mr3735201ank.14.1207734412303; Wed, 09 Apr 2008 02:46:52 -0700 (PDT) Received: by 10.100.119.19 with HTTP; Wed, 9 Apr 2008 02:46:52 -0700 (PDT) Message-ID: <6f9f8f4a0804090246v19f42f3fgfe22a65f48f1f18b@mail.gmail.com> Date: Wed, 9 Apr 2008 11:46:52 +0200 From: "Loup Vaillant" To: "Caml List" Subject: Porting camlp4 stuff from 3.09 to 3.10: need help MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Miltered: at discorde with ID 47FC908D.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 camlp:01 wiki:01 expr:01 expr:01 parse:02 construct:02 quotations:03 predefined:03 porting:06 porting:06 differences:06 structure:07 uses:07 quite:08 Hello, I am currently porting code which uses camlp4 from 3.09 to 3.10, and I am quite stuck. I would like to know if there is a document which describes the compatibility breaking differences between the two versions. (The wiki doesn't seem to have it yet). It would also help me to know of the predefined quotations, (<:expr< >>, <:str_item< >>, and such) and what they allow. For now, I am stuck on this error: File "pa_ocamlconf.ml", line 78, characters 14-21: While expanding quotation "str_item" in a position of "expr": Parse error: illegal begin of quotation of structure item The mentioned line 78 is: <:str_item< declare end >> It looks like the "declare end" construct is not allowed any more. Is there any equivalent in 3.10, and is there a specific bit of documentation about this? Thanks, Loup