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.7 required=5.0 tests=AWL,RCVD_IN_BL_SPAMCOP_NET autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 364FEBC0B for ; Wed, 24 Jan 2007 17:17:01 +0100 (CET) Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0OGH01L001431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 24 Jan 2007 17:17:01 +0100 Received: from mail-in-01-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mail-in-11.arcor-online.net (Postfix) with ESMTP id 66F4210DE7; Wed, 24 Jan 2007 17:17:00 +0100 (CET) Received: from mail-in-10.arcor-online.net (mail-in-10.arcor-online.net [151.189.21.50]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 5A36D2C6E65; Wed, 24 Jan 2007 17:17:00 +0100 (CET) Received: from moses.efil.de (www.efil.de [213.23.145.142]) by mail-in-10.arcor-online.net (Postfix) with ESMTP id D8CAFBC5E2; Wed, 24 Jan 2007 17:16:59 +0100 (CET) Received: by moses.efil.de (Postfix, from userid 1000) id 2BEA2CD425; Wed, 24 Jan 2007 17:16:58 +0100 (CET) Date: Wed, 24 Jan 2007 17:09:26 +0100 From: Ingo Bormuth To: Mike Lin Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] ocaml+twt v0.90 Message-ID: <20070124160926.GA11150@efil.de> References: <2a1a1a0c0701161248l5a1d9ad9q739da9c593fc5219@mail.gmail.com> <20070123204313.GA4163@efil.de> <2a1a1a0c0701231322h48e3af00m9f07371f236fe7c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a1a1a0c0701231322h48e3af00m9f07371f236fe7c@mail.gmail.com> X-Url: http://ibormuth.efil.de/contact User-Agent: Mutt/1.5.13 (2006-08-11) X-Miltered: at discorde with ID 45B7867C.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 'val:01 ingo:98 efil:98 0.90:98 ingo:98 efil:98 wrote:01 complains:01 caml-list:01 expression:02 objects:02 desirable:03 let:03 On 2007-01-23 16:22, Mike Lin wrote: > Do you have any examples of this lying around? Objects are "supposed" to > work, although I have not tested it in any project of appreciable size. I > definitely want to fix it where it is broken. You're right. I isolated the problem to the following piece of code: let _x = ref 0 _x := 1 ocaml+twt complains: 'syntax error at line 2' I think you should add a '_' to the regular expression for identifiers in line 218 of ocaml+twt.ml. Sorry for the false alarm about object orientation (in my code if had 'val __dbg' inside a class definition). Anyway I'd regard the #light pragma as very desirable. Ingo -- Ingo Bormuth, voicebox & fax: +49-(0)-12125-10226517 public key 86326EC9, http://ibormuth.efil.de/contact