[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: New error behaviour of lua_dostring in 5.0alpha
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 05 Dec 2002 17:47:12 +0000
> In Lua4.0 if there was an error in the text passed to lua_dostring an error
> message would be output and control would be returned to the calling
> application. With Lua5.0alpha the program simply exists so the calling
> application can not do anything.
This is a bug in 5.0a. Although lua_dostring is there for compatibility
only (as lhf pointed out), it should catch errors like the previous
version. (Otherwise it would be pointless, to be there for compatibility
but with such a different behavior.)
-- Roberto