From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <5764c029b688c1c0d24a2e97cd764f@gmail.com> X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 5D7F280AD9 for ; Wed, 5 Jun 2013 11:47:33 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of 5764c029b688c1c0d24a2e97cd764f@gmail.com) identity=pra; client-ip=209.85.214.45; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-sender="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of 5764c029b688c1c0d24a2e97cd764f@gmail.com designates 209.85.214.45 as permitted sender) identity=mailfrom; client-ip=209.85.214.45; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-sender="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-bk0-f45.google.com) identity=helo; client-ip=209.85.214.45; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-sender="postmaster@mail-bk0-f45.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEBAL0Ir1HRVdYtlGdsb2JhbABagh4EhAy9MhYOAQEBAQcNCQkUBCSCagEbHAIDEhAWFhgDAgECARERAQUBLwgCh3YBAw8EnAqCfoxKgn+EbwoZJw1Yh3ABBQyPNYNFA5c/hh6JPT+ENg X-IPAS-Result: AuEBAL0Ir1HRVdYtlGdsb2JhbABagh4EhAy9MhYOAQEBAQcNCQkUBCSCagEbHAIDEhAWFhgDAgECARERAQUBLwgCh3YBAw8EnAqCfoxKgn+EbwoZJw1Yh3ABBQyPNYNFA5c/hh6JPT+ENg X-IronPort-AV: E=Sophos;i="4.87,804,1363129200"; d="scan'208";a="16835842" Received: from mail-bk0-f45.google.com ([209.85.214.45]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 05 Jun 2013 11:47:22 +0200 Received: by mail-bk0-f45.google.com with SMTP id je10so729944bkc.4 for ; Wed, 05 Jun 2013 02:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=wn+8gKy/4BSjIBMnTBDDNKU2fUwd25K7QO7rJDNud28=; b=WczNDRPP210m/IPUjRk7/TcypG/wQhZKD+8nKfqba7IqzP/v/77Yk4pBlf/yOhOCsM wQuyEUM1/7C+Ui49+pAk8KsW+detOYA6gZT+gpIjzOHxptu7lK94WAlyFA0YOIQaUE0N XwP2KftNDaUyBGvfg35WXQVJUzw/+vAylbbZ7xYgNqQZLA46yca4kC2RJT1r9hY71gQM z5zSGpLk+2BN5RBoUgNkPzUKGOS0b4mAAIO4jXsrHG/x58VDObKOPCe2UUSC0S1xScyi 65vqyCsaJR8V+FK4sKhBxV2FuHB8lpIfb+U7OEwve8GbqfrumyIjW39PYKz5JwhOwdk7 x7lg== X-Received: by 10.204.166.133 with SMTP id m5mr9602146bky.78.1370425641878; Wed, 05 Jun 2013 02:47:21 -0700 (PDT) Received: from [172.27.6.180] ([213.106.240.92]) by mx.google.com with ESMTPSA id i15sm25168474bkz.12.2013.06.05.02.47.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 02:47:21 -0700 (PDT) Message-ID: <51AF09A1.2040002@gmail.com> Date: Wed, 05 Jun 2013 10:49:21 +0100 From: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: caml-list@inria.fr X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Caml-list] Ocaml parser reports strange syntax-error position. Hi, If I type this to the Ocaml toplevel: Printf "%d" 10;; The actual problem is that instead of "Printf" I should have typed "Printf.printf". However, the parser complains about literal "10". Is this the expected behavior or a bug (in parser's error-reporting routines)?