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 40636BC6B for ; Fri, 13 Apr 2007 23:43:50 +0200 (CEST) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3DLhnTW027637 for ; Fri, 13 Apr 2007 23:43:50 +0200 Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 66AC521754C; Fri, 13 Apr 2007 17:43:50 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 13 Apr 2007 17:43:50 -0400 X-Sasl-enc: iUI9sNqKmfdnTd7v2YBM/b+evh9BLXEbJrev3elLt3TA 1176500629 Received: from munge.burnham.org (burnham.ljcrf.edu [192.231.106.2]) by mail.messagingengine.com (Postfix) with ESMTP id B6FB5AE63; Fri, 13 Apr 2007 17:43:49 -0400 (EDT) Date: Fri, 13 Apr 2007 14:43:45 -0700 (PDT) From: Martin Jambon X-X-Sender: martin@localhost To: Nicolas Pouillard Cc: caml-list@inria.fr Subject: Re: [Caml-list] New Camlp4 behavior (problem with rules starting with OPT) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at discorde with ID 461FF995.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ens-lyon:01 camlp:01 ens-lyon:01 camlp:01 syntax:01 parsing:01 2007,:98 wrote:01 wrote:01 imho:01 caml-list:01 jambon:01 jambon:01 perhaps:04 opt:05 On Fri, 13 Apr 2007, Nicolas Pouillard wrote: > On 4/13/07, Martin Jambon wrote: > > With camlp4 3.10.0+beta, the following syntax extension does not work, > > but it used to work in the "old" camlp4. > > IMHO having rules starting with OPT don't fit very well with the > camlp4 parsing mechanism. > > It works in the 3.09 version but I don't know why. > > I think that you shouldn't rely on that anymore. Perhaps you can have camlp4 test and reject such rules automatically. It would be a big timesaver. Thanks Martin -- Martin Jambon http://martin.jambon.free.fr