commit | 58aa09a0b91cf81779d6710d7f9d855bb9d3712f | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Jan 26 16:53:51 2021 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Jan 26 16:53:51 2021 -0300 |
tree | 56adab5aab1307791b7e485677a41203d7369a6c | |
parent | 1f81baffadad9d955b030a1a29b9b06042a66552 [diff] |
Small improvements in hooks - 'L->top' is set once in 'luaD_hook', instead of being set in 'luaD_hookcall' and 'rethook'; - resume discard arguments when returning after an yield inside a hook (arguments may interfere with the coroutine stack); - yield inside a hook asserts it has no arguments.
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.