Codebase list jlex / HEAD bug6.txt
HEAD

Tree @HEAD (Download .tar.gz)

bug6.txt @HEADraw · history · blame

From iw@return-online.deWed Sep 11 15:00:08 1996
Date: Wed, 11 Sep 1996 18:25:47 +0200
From: Ingo Wechsung <iw@return-online.de>
To: ejberk@Princeton.EDU
Subject: JavaLex

Dear Elliot,

congratulations for writing such a tool as JavaLex!
I downloaded and tried it today and it works great.

However, did you ever try to input a character >127 to the 
generated program?
When I do this (by typing a german umlaut for example), I get an 
ArrayIndexOutOfBoundsException.
Any idea? As far as I could see you store the input in byte 
arrays which would lead to negative bytes for 
beyound-ASCII-characters. I could imagine you use the byte 
values as an index somewhere ...
Unfortunately I couldn't debug it yet, but will do tomorrow.
 
BTW, yes, I have the %full directive in my source file ...

-- 
Email: iw@return-online.de  Tel.: 07121/928624  Fax.: 
07121/928686
CAS Nord GmbH, Geschaeftsstelle Reutlingen  --  Return Online 
GmbH
Friedrich-Ebert-Str. 3, 72762 Reutlingen, Germany
Please have a look at our Web pages:
                   http://www.return-online.de