From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 77E8BBB81 for ; Fri, 22 Jul 2005 07:48:02 +0200 (CEST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j6M5m0a6029996 for ; Fri, 22 Jul 2005 07:48:01 +0200 Received: from rosella (ppp9-20.lns1.syd3.internode.on.net [59.167.9.20]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j6M5lkpD059043; Fri, 22 Jul 2005 15:17:47 +0930 (CST) Subject: Re: [Caml-list] Syntax errors with match and interface files From: skaller To: Jonathan Roewen Cc: caml-list@yquem.inria.fr In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jkn8iSHpbGm9lUbOUmxb" Date: Fri, 22 Jul 2005 15:47:48 +1000 Message-Id: <1122011268.17369.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 X-Miltered: at nez-perce with ID 42E08890.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 syntax:01 syntax:01 mli:01 val:01 val:01 semicolons:01 infix:01 wrote:01 sourceforge:01 sourceforge:01 expression:01 int:01 int:01 match:02 X-Attachments: type="application/pgp-signature" name="signature.asc" X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 --=-jkn8iSHpbGm9lUbOUmxb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2005-07-22 at 10:42 +1200, Jonathan Roewen wrote: > Hi, >=20 > I'm getting a curious syntax error: >=20 > in my Key.mli file, I have: >=20 > val kEnter: int; > val kBksp: int; Because of the curious semicolons .. which are infix sequencing operators used in expressions. val binding in an interface is not an expression.. --=20 John Skaller --=-jkn8iSHpbGm9lUbOUmxb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBC4IiDsRp8/9aGVGsRAv8XAJ4z0anTERbXn8VNecpmza+2QF80ugCggWB/ E2QTI4ZHyc8ibnVFNiq343U= =4G/C -----END PGP SIGNATURE----- --=-jkn8iSHpbGm9lUbOUmxb--