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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 9AB10BBC1 for ; Wed, 20 Feb 2008 03:20:50 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAOMcu0fAXQInh2dsb2JhbACQUQEBAQgKKZ8C X-IronPort-AV: E=Sophos;i="4.25,379,1199660400"; d="scan'208";a="7485700" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 20 Feb 2008 03:20:50 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m1K2Kn50014251 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 20 Feb 2008 03:20:50 +0100 X-IronPort-AV: E=Sophos;i="4.25,379,1199660400"; d="scan'208";a="9369455" Received: from yquem.inria.fr ([128.93.8.37]) by mail3-relais-sop.national.inria.fr with ESMTP; 20 Feb 2008 03:20:49 +0100 Received: by yquem.inria.fr (Postfix, from userid 25991) id BD508BBC1; Wed, 20 Feb 2008 03:20:49 +0100 (CET) Date: Wed, 20 Feb 2008 03:20:49 +0100 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Bug with camlp5 and Bigarray Access Message-ID: <20080220022049.GA21540@yquem.inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Miltered: at concorde with ID 47BB8E82.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; rauglaudre:01 rauglaudre:01 bug:01 camlp:01 bigarray:01 camlp:01 bigarray:01 bug:01 expr:01 expr:01 wrote:01 caml-list:01 daniel:04 daniel:04 correctly:04 Hi On Tue, Feb 19, 2008 at 01:32:18PM -0600, Joseph Young wrote: > Camlp5 does not appear to handle bigarray access correctly. This is a bug indeed. I fixed it some days ago. It will be ok at next Camlp5 release. In the meantime, to fix it locally, you can edit the file "etc/pa_o.ml" and around line 582, change: | e = SELF; "."; "{"; el = V (LIST1 expr SEP ","); "}" -> into: | e = SELF; "."; "{"; el = V (LIST1 expr LEVEL "+" SEP ","); "}" -> -- Daniel de Rauglaudre http://pauillac.inria.fr/~ddr/