[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C++, pcall, and yield
- From: roberto@... (Roberto Ierusalimschy)
- Date: Wed, 19 Apr 2006 13:40:31 -0300
> But then Lua can't restore its own state. See the (status != 0)
> cases in LuaD_pcall or lua_resume. So a catch(...) may be ugly,
> but at least it doesn't screw up the Lua state (with the
> LUA_ERREXC bug fix of course).
>
> BTW to Roberto: I assume the LUA_ERREXC bug fix will be part of
> Lua 5.1.1-rc1?
The bug is only in 'luaD_seterrorobj', that increments top without
pushing a corresponding value, is that right?
-- Roberto
- References:
- Re: C++, pcall, and yield, Adam D. Moss
- Re: C++, pcall, and yield, Mark Hamburg
- Re: C++, pcall, and yield, Greg Falcon
- Re: C++, pcall, and yield, Mike Pall
- Re: C++, pcall, and yield, Greg Falcon
- Re: C++, pcall, and yield, Mike Pall