From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 0181F7EC41 for ; Tue, 23 Oct 2012 15:52:18 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of lambda.q.q@gmail.com) identity=pra; client-ip=209.85.217.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="lambda.q.q@gmail.com"; x-sender="lambda.q.q@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.national.inria.fr: domain of lambda.q.q@gmail.com designates 209.85.217.182 as permitted sender) identity=mailfrom; client-ip=209.85.217.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="lambda.q.q@gmail.com"; x-sender="lambda.q.q@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-lb0-f182.google.com) identity=helo; client-ip=209.85.217.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="lambda.q.q@gmail.com"; x-sender="postmaster@mail-lb0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmUBACeghlDRVdm2mGdsb2JhbABEhU23ZIQsCCMBAQEBAQgJDQcUJ4IeAQEBAwESAiYGATgBAwELAQUFISUPAQQNEwEFASITIodQAwkGBJ1QCQOOFIEKhSonDYlOAQUMimxsIoY3A4hUi0iBVYspgy8/gViCPoFX X-IronPort-AV: E=Sophos;i="4.80,635,1344204000"; d="scan'208";a="160093112" Received: from mail-lb0-f182.google.com ([209.85.217.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 23 Oct 2012 15:52:18 +0200 Received: by mail-lb0-f182.google.com with SMTP id b5so665924lbd.27 for ; Tue, 23 Oct 2012 06:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=46qsSG+Er+YyxVRInOI6nkJfaVpbhWS26aJm0Ca1st8=; b=KkAj/I6SGThVE+mnk8JARPItx1v5Xye01b/GmfSU/G72C6ds10WCKroqCwQMZ++uAD gjjGMv3FBY4pqAlVB6OV5MOFm2Vq9UcWAXEAA0ESdZcC3qx0LAqrm229LgTEikewt/vm yIgGBsP7yvGqLAi7FADyzjuOG1aM00AGobsW/cCX3TDklRj7uDAJpwRqvKO5Fu+Vr0qp wrLs6DyQ1R87/vwAjvZm/bHPkHRw1mKC8sWGd7Xlyetwli4n6gP9yNca0v5fJIM0VCMI KVKApTykUEZ5cJ6Ks6Moz6S623I1U8egiFhhnR+3uNcVtqpjUUUlBnN5qHYTWw/q2qkP g8VA== Received: by 10.152.110.74 with SMTP id hy10mr11558651lab.54.1351000337418; Tue, 23 Oct 2012 06:52:17 -0700 (PDT) Received: from golf.niidar.ru.niidar.ru ([178.176.69.217]) by mx.google.com with ESMTPS id so7sm4021872lab.0.2012.10.23.06.52.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Oct 2012 06:52:16 -0700 (PDT) Sender: Ivan Gotovchits From: Ivan Gotovchits To: Gabriel Scherer Cc: caml-list@inria.fr References: <877gqhnzq1.fsf@golf.niidar.ru> Date: Tue, 23 Oct 2012 17:57:15 +0400 In-Reply-To: (Gabriel Scherer's message of "Tue, 23 Oct 2012 15:30:41 +0200") Message-ID: <873915nves.fsf@golf.niidar.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Caml-list] [Batteries or Camlp4] Functionaly updating several fields in an object Gabriel Scherer writes: > It appears to be a parsing bug in the 3.11 version of Camlp4. It > happens neither with 3.10.2 or with more recent version. > (I was lucky to find a machine with 3.11.2 installed; it's good to > have rarely-updated servers around) > > Steps to reproduce: > camlp4o -str 'let _ = {< a = a; b = b >}' > Observed result: > {< a = (a; b = b); >} > > Upgrading to a more recent version of OCaml would solve your problem. > Otherwise, not using syntax extensions is also fine. > Unfortunately, I cannot upgrade to a more recent version. Because I'm restricted to use a certified software... Though, many thanks for clarifying the issue! -- (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"...