aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-12-01 13:44:51 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-12-01 13:44:51 -0200
commite0bece77d6ee926de4ab3108b0fa84f03ff759d4 (patch)
tree2fbed410ce5f1b5dce9d3aa74cfe24ebfb7bd861 /ldo.c
parentd0356d5f15aea1f9934bd9e223bcb12a865a8608 (diff)
downloadlua-e0bece77d6ee926de4ab3108b0fa84f03ff759d4.tar.gz
lua-e0bece77d6ee926de4ab3108b0fa84f03ff759d4.tar.bz2
lua-e0bece77d6ee926de4ab3108b0fa84f03ff759d4.zip
detail
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.c b/ldo.c
index 628aef12..fe1fcb25 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 2.175 2017/11/23 18:29:41 roberto Exp roberto $ 2** $Id: ldo.c,v 2.176 2017/11/29 13:02:17 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*/
@@ -346,8 +346,8 @@ static void moveresults (lua_State *L, StkId firstResult, StkId res,
346 int i; 346 int i;
347 for (i = 0; i < nres; i++) /* move all results to correct place */ 347 for (i = 0; i < nres; i++) /* move all results to correct place */
348 setobjs2s(L, res + i, firstResult + i); 348 setobjs2s(L, res + i, firstResult + i);
349 L->top = res + nres; 349 wanted = nres; /* it wanted what it had */
350 return; 350 break;
351 } 351 }
352 default: { 352 default: {
353 int i; 353 int i;