From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 7CA0EBB9A for ; Fri, 28 Oct 2005 10:09:41 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9S89e0R009097 for ; Fri, 28 Oct 2005 10:09:41 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA14763 for ; Fri, 28 Oct 2005 10:09:39 +0200 (MET DST) Received: from mail.barettadeit.com (h213-255-109-130.albacom.net [213.255.109.130] (may be forged)) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9S89dgt009094; Fri, 28 Oct 2005 10:09:39 +0200 Received: from [10.1.0.20] (unknown [10.1.0.20]) by mail.barettadeit.com (Postfix) with ESMTP id DBBE183FE3; Fri, 28 Oct 2005 10:13:39 +0200 (CEST) Message-ID: <4361DD2F.9060103@barettadeit.com> Date: Fri, 28 Oct 2005 10:11:27 +0200 From: Alessandro Baretta User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ocaml , Alain Frisch , Gerd Stolpmann Subject: Ulex patch for ocaml-3.09 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4361DCC4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4361DCC3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; baretta:01 baretta:01 pxp:01 ocaml:01 -naur:01 ocaml:01 endline:01 sed:01 diff:01 string:03 string:03 float:03 alessandro:03 alex:03 sys:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Ulex 0.7 (required by PXP) needs the following patch to build on ocaml 3.09.0. Alex diff -Naur ulex-0.7/mk_pa_ulex.ml ulex-0.7-deit/mk_pa_ulex.ml --- ulex-0.7/mk_pa_ulex.ml 2005-05-24 17:16:51.000000000 +0200 +++ ulex-0.7-deit/mk_pa_ulex.ml 2005-10-28 10:07:48.000000000 +0200 @@ -1,5 +1,5 @@ let s = float_of_string (String.sub (Sys.ocaml_version) 0 4) in -if (s <= 3.09) then ( +if (s < 3.09) then ( print_endline "Old camlp4 (loc)"; Sys.command "sed s/_loc/loc/ < pa_ulex.ml.src > pa_ulex.ml" )