diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-11-11 14:34:17 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-11-11 14:34:17 -0200 |
commit | 921b1723e2fddde0382143b28b5be3b7128204b8 (patch) | |
tree | aeb00e38af2775bdd83527ef320e7990e703740c /ldo.c | |
parent | fa198197a0202bd3a7b68d228cd1c2fd88166ff7 (diff) | |
download | lua-921b1723e2fddde0382143b28b5be3b7128204b8.tar.gz lua-921b1723e2fddde0382143b28b5be3b7128204b8.tar.bz2 lua-921b1723e2fddde0382143b28b5be3b7128204b8.zip |
comments
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.227 2003/10/20 12:24:26 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.228 2003/10/20 17:42:41 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -334,7 +334,7 @@ static void resume (lua_State *L, void *ud) { | |||
334 | lua_assert(ci == L->base_ci && nargs < L->top - L->base); | 334 | lua_assert(ci == L->base_ci && nargs < L->top - L->base); |
335 | luaD_precall(L, L->top - (nargs + 1)); /* start coroutine */ | 335 | luaD_precall(L, L->top - (nargs + 1)); /* start coroutine */ |
336 | } | 336 | } |
337 | else { /* resumming from previous yield */ | 337 | else { /* resuming from previous yield */ |
338 | if (!f_isLua(ci)) { /* `common' yield? */ | 338 | if (!f_isLua(ci)) { /* `common' yield? */ |
339 | /* finish interrupted execution of `OP_CALL' */ | 339 | /* finish interrupted execution of `OP_CALL' */ |
340 | int nresults; | 340 | int nresults; |