Re: win32lib v0.57.4 released - makes bindw crash
- Posted by Robert Craig <rds at RapidEuphoria.com> May 06, 2002
- 342 views
Henri Goffin writes: > Derek, > > with this version installed bindw crashes with the following error: > > D:\Euphoria\Bin\bind.ex:1304 in function Fk() > type_check failure, Fu is -1 It's not Derek's bug, it's mine. The binder was tripped up by the last line of win32lib.ew, where there's a comment, "--", followed immediately by EOF (with no \n character or any other character). include compat01.ew -- If you load win32lib.ew into ed and save it, the bug will go away, because ed always ends the last line in a text file with \n. Some editors, such as NotePad, will occasionally leave you with no \n on the last line. This doesn't bother the interpreter or the translator, but the binder sees "--" and does not expect that EOF (-1) could be the very next "character". I'll fix it for the next release. Maybe Derek can adjust that last line -- although stamping will eventually fix it. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com