diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.105 2000/05/08 19:32:53 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.106 2000/05/15 19:48:04 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 | */ |
@@ -470,7 +470,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) { | |||
470 | 470 | ||
471 | case OP_SETLIST: { | 471 | case OP_SETLIST: { |
472 | int aux = GETARG_A(i) * LFIELDS_PER_FLUSH; | 472 | int aux = GETARG_A(i) * LFIELDS_PER_FLUSH; |
473 | int n = GETARG_B(i)+1; | 473 | int n = GETARG_B(i); |
474 | Hash *arr = avalue(top-n-1); | 474 | Hash *arr = avalue(top-n-1); |
475 | L->top = top-n; /* final value of `top' (in case of errors) */ | 475 | L->top = top-n; /* final value of `top' (in case of errors) */ |
476 | for (; n; n--) | 476 | for (; n; n--) |