Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocaml+twt v0.90
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ingo Bormuth <ibormuth@e...>
Subject: Re: [Caml-list] ocaml+twt v0.90
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