[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.2 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 22 Nov 2015 21:38:38 -0200
> #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