use debug.traceback() for errors (luaL_traceback is only in luajit and lua 5.2+)
| 208 | |
| 209 | // use debug.traceback() for errors (luaL_traceback is only in luajit and lua 5.2+) |
| 210 | static void PushErrorHandler(lua_State* L) |
| 211 | { |
| 212 | lua_getglobal(L, "debug"); |
| 213 | lua_getfield(L, -1, "traceback"); |
| 214 | lua_remove(L, -2); |
| 215 | } |
| 216 | |
| 217 | LuaParser::LuaParser() { |
| 218 | for (int i = 0; i < _LargestEventID; ++i) { |
no outgoing calls
no test coverage detected