diff options
| -rw-r--r-- | lvm.c | 9 |
1 files changed, 4 insertions, 5 deletions
| @@ -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 | */ |
| 293 | StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf, | 292 | StkId 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; |
