aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-07-11 16:11:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-07-11 16:11:50 -0300
commit96f9643f330a4bf0f8cd1973fecdd7161ffbbf68 (patch)
tree78b08f9963feab6863673e42ab98fbc5dad4c792 /llex.c
parent84058b15068a382e66f4eeb4e29a2dbf1704fa8b (diff)
downloadlua-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