lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> #define dojump(ci,i,e) \
>   { int a = GETARG_A(i); \
>     if (a != 0) luaF_close(L, ci->u.l.base + a - 1); \
>     ci->u.l.savedpc += GETARG_sBx(i) + e; }
> 
> Previously the test was if (a > 0).
> 
> Is this to fix a bug ?

No, it is only more precise. (Zero is a special case, and what I want
to know is whether it is not that case. The fact that the other values
are all positive is irrelevant here.)

-- Roberto