Update of /cvsroot/wxlua/wxLua/modules/wxlua/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27192/wxLua/modules/wxlua/src
Modified Files:
wxlstate.cpp
Log Message:
Update the Lua source to 5.1.3-rc1
Use <set var="VARS_DONT_ELIMINATE" append="1">THREADING</set> so it
doesn't get stripped out by bakefile.
Index: wxlstate.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v
retrieving revision 1.162
retrieving revision 1.163
diff -C2 -d -r1.162 -r1.163
*** wxlstate.cpp 15 Jan 2008 01:04:04 -0000 1.162
--- wxlstate.cpp 18 Jan 2008 03:43:00 -0000 1.163
***************
*** 2560,2563 ****
--- 2560,2565 ----
// this function taken from lua.c, the lua executable
static int LUACALL wxlua_traceback (lua_State *L) {
+ if (!lua_isstring(L, 1)) /* 'message' not a string? */
+ return 1; /* keep it intact */
lua_getfield(L, LUA_GLOBALSINDEX, "debug");
if (!lua_istable(L, -1)) {
|