diff options
-rw-r--r-- | lvm.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.266 2002/11/21 15:16:04 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.267 2002/11/21 15:46:44 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 | */ |
@@ -552,7 +552,8 @@ StkId luaV_execute (lua_State *L) { | |||
552 | int b = GETARG_B(i); | 552 | int b = GETARG_B(i); |
553 | int c = GETARG_C(i); | 553 | int c = GETARG_C(i); |
554 | luaV_concat(L, c-b+1, c); /* may change `base' (and `ra') */ | 554 | luaV_concat(L, c-b+1, c); /* may change `base' (and `ra') */ |
555 | setobjs2s(XRA(i), base+b); | 555 | base = L->base; |
556 | setobjs2s(RA(i), base+b); | ||
556 | luaC_checkGC(L); | 557 | luaC_checkGC(L); |
557 | break; | 558 | break; |
558 | } | 559 | } |