lua-users home
lua-l archive

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

keep thinking is a beautiful thing

云风 Cloud Wu <> 于2021年6月18日周五 下午8:46写道:

云风 Cloud Wu <>于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.