diff options
| -rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lvm.c,v 2.261 2015/11/12 18:08:58 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.262 2015/11/13 13:24:26 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 | */ |
| @@ -723,7 +723,7 @@ void luaV_finishOp (lua_State *L) { | |||
| 723 | /* execute a jump instruction */ | 723 | /* execute a jump instruction */ |
| 724 | #define dojump(ci,i,e) \ | 724 | #define dojump(ci,i,e) \ |
| 725 | { int a = GETARG_A(i); \ | 725 | { int a = GETARG_A(i); \ |
| 726 | if (a > 0) luaF_close(L, ci->u.l.base + a - 1); \ | 726 | if (a != 0) luaF_close(L, ci->u.l.base + a - 1); \ |
| 727 | ci->u.l.savedpc += GETARG_sBx(i) + e; } | 727 | ci->u.l.savedpc += GETARG_sBx(i) + e; } |
| 728 | 728 | ||
| 729 | /* for test instructions, execute the jump instruction that follows it */ | 729 | /* for test instructions, execute the jump instruction that follows it */ |
