diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-07-11 16:11:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-07-11 16:11:50 -0300 |
commit | 96f9643f330a4bf0f8cd1973fecdd7161ffbbf68 (patch) | |
tree | 78b08f9963feab6863673e42ab98fbc5dad4c792 /llex.c | |
parent | 84058b15068a382e66f4eeb4e29a2dbf1704fa8b (diff) | |
download | lua-96f9643f330a4bf0f8cd1973fecdd7161ffbbf68.tar.gz lua-96f9643f330a4bf0f8cd1973fecdd7161ffbbf68.tar.bz2 lua-96f9643f330a4bf0f8cd1973fecdd7161ffbbf68.zip |
Bug: wrong 'nCcalls' when resuming a coroutine
The counter 'nCcalls' now includes the number of CallInfo structures
pre-allocated (so that these "potential" C calls can be made without
checking 'nCcalls'). So, when copying this value from a thread to
another, in 'lua_resume', it must be corrected to the number of
CallInfo structures in the thread being resumed.
Diffstat (limited to 'llex.c')
0 files changed, 0 insertions, 0 deletions