diff options
| -rw-r--r-- | ldo.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | ||
