diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-19 17:16:22 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-19 17:16:22 -0200 |
commit | d103312661d4d2428516924658154df09b3168a4 (patch) | |
tree | dc2318e0bb95abd9776b57ec73f2f9a0c01586e5 /ldo.c | |
parent | 2e8f8a18e4ddbb3bebd8e81e276fc37bce02e422 (diff) | |
download | lua-d103312661d4d2428516924658154df09b3168a4.tar.gz lua-d103312661d4d2428516924658154df09b3168a4.tar.bz2 lua-d103312661d4d2428516924658154df09b3168a4.zip |
details (typos in comments)
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.148 2015/11/02 18:48:49 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.149 2015/11/13 13:24:26 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 | */ |
@@ -409,7 +409,7 @@ static int moveresults (lua_State *L, const TValue *firstResult, StkId res, | |||
409 | case 0: break; /* nothing to move */ | 409 | case 0: break; /* nothing to move */ |
410 | case 1: { /* one result needed */ | 410 | case 1: { /* one result needed */ |
411 | if (nres == 0) /* no results? */ | 411 | if (nres == 0) /* no results? */ |
412 | firstResult = luaO_nilobject; /* ajdust with nil */ | 412 | firstResult = luaO_nilobject; /* adjust with nil */ |
413 | setobjs2s(L, res, firstResult); /* move it to proper place */ | 413 | setobjs2s(L, res, firstResult); /* move it to proper place */ |
414 | break; | 414 | break; |
415 | } | 415 | } |
@@ -442,7 +442,7 @@ static int moveresults (lua_State *L, const TValue *firstResult, StkId res, | |||
442 | 442 | ||
443 | /* | 443 | /* |
444 | ** Finishes a function call: calls hook if necessary, removes CallInfo, | 444 | ** Finishes a function call: calls hook if necessary, removes CallInfo, |
445 | ** moves corrent number of results to proper place; returns 0 iff call | 445 | ** moves current number of results to proper place; returns 0 iff call |
446 | ** wanted multiple (variable number of) results. | 446 | ** wanted multiple (variable number of) results. |
447 | */ | 447 | */ |
448 | int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) { | 448 | int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) { |