summaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-09 18:01:48 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-09 18:01:48 -0200
commitdea54a7c719d27aad8c8fde2b234077310eab980 (patch)
tree809cdad84cd3a8ca048b5afe8b9378ced5aa9da2 /lvm.c
parent544eeb1f9c1fb66926fff895598d03bc5ccf96cc (diff)
downloadlua-github-dea54a7c719d27aad8c8fde2b234077310eab980.tar.gz
comments
Diffstat (limited to 'lvm.c')
-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 @@
/*
-** $Id: lvm.c,v 1.70 1999/12/06 11:40:55 roberto Exp roberto $
+** $Id: lvm.c,v 1.71 1999/12/06 19:30:53 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -286,9 +286,8 @@ static void adjust_varargs (lua_State *L, StkId base, int nfixargs) {
/*
-** Execute the given opcode, until a RET. Parameters are between
-** [stack+base,top). Returns n such that the the results are between
-** [stack+n,top).
+** Executes the given Lua function. Parameters are between [base,top).
+** Returns n such that the the results are between [n,top).
*/
StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
StkId base) {
@@ -313,7 +312,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
case ENDCODE:
top = base;
goto ret;
-
+
case RETCODE:
base += *pc++;
goto ret;