aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lvm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lvm.c b/lvm.c
index e3514b39..4b05c894 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.70 1999/12/06 11:40:55 roberto Exp roberto $ 2** $Id: lvm.c,v 1.71 1999/12/06 19:30:53 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -286,9 +286,8 @@ static void adjust_varargs (lua_State *L, StkId base, int nfixargs) {
286 286
287 287
288/* 288/*
289** Execute the given opcode, until a RET. Parameters are between 289** Executes the given Lua function. Parameters are between [base,top).
290** [stack+base,top). Returns n such that the the results are between 290** Returns n such that the the results are between [n,top).
291** [stack+n,top).
292*/ 291*/
293StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf, 292StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
294 StkId base) { 293 StkId base) {
@@ -313,7 +312,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
313 case ENDCODE: 312 case ENDCODE:
314 top = base; 313 top = base;
315 goto ret; 314 goto ret;
316 315
317 case RETCODE: 316 case RETCODE:
318 base += *pc++; 317 base += *pc++;
319 goto ret; 318 goto ret;