lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




云风 Cloud Wu <cloudwu@gmail.com>于2021年6月18日 周五18:01写道:
luaL_traceback() calls findfield(), and it's a recursion function.

The max level of findfield() is 2 now, so it could not consume too much lua stack. 

Sorry for the noise.

btw, I still need to call luaL_checkstack() before luaL_traceback() to reserve enough stack space.
--
http://blog.codingnow.com