aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-22 16:23:36 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-22 16:23:36 -0300
commite3a02e6a9ce0714bf51d20c94b54302bf9939dd8 (patch)
tree4af95174626c10cb37f5e0620686b76a209ab040
parentd5feffdb607e4376bcea32c3642131962aa6857f (diff)
downloadlua-e3a02e6a9ce0714bf51d20c94b54302bf9939dd8.tar.gz
lua-e3a02e6a9ce0714bf51d20c94b54302bf9939dd8.tar.bz2
lua-e3a02e6a9ce0714bf51d20c94b54302bf9939dd8.zip
comments
-rw-r--r--ldo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.c b/ldo.c
index b5ae4607..2f20dd33 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.33 1999/02/22 13:51:44 roberto Exp roberto $ 2** $Id: ldo.c,v 1.34 1999/02/22 14:17:24 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*/
@@ -265,9 +265,9 @@ static void do_callinc (int nResults)
265{ 265{
266 StkId base = L->Cstack.base; 266 StkId base = L->Cstack.base;
267 luaD_call(base+1, nResults); 267 luaD_call(base+1, nResults);
268 L->Cstack.lua2C = base; /* position of the luaM_new results */ 268 L->Cstack.lua2C = base; /* position of the new results */
269 L->Cstack.num = (L->stack.top-L->stack.stack) - base; /* number of results */ 269 L->Cstack.num = (L->stack.top-L->stack.stack) - base; /* number of results */
270 L->Cstack.base = base + L->Cstack.num; /* incorporate results on L->stack.stack */ 270 L->Cstack.base = base + L->Cstack.num; /* incorporate results on stack */
271} 271}
272 272
273 273