Fix for gcc misleading indentation in lua-engine.cpp.
This commit is contained in:
parent
eecb2e77b6
commit
e6efd7f694
|
@ -5825,8 +5825,8 @@ static int bit_tobit(lua_State *L) { BRET(barg(L, 1)) }
|
||||||
static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) }
|
static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) }
|
||||||
|
|
||||||
#define BIT_OP(func, opr) \
|
#define BIT_OP(func, opr) \
|
||||||
static int func(lua_State *L) { int i; UBits b = barg(L, 1); \
|
static int func(lua_State *L) { UBits b = barg(L, 1); \
|
||||||
for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }
|
for (int i = lua_gettop(L); i > 1; i--){ b opr barg(L, i); } BRET(b) }
|
||||||
BIT_OP(bit_band, &=)
|
BIT_OP(bit_band, &=)
|
||||||
BIT_OP(bit_bor, |=)
|
BIT_OP(bit_bor, |=)
|
||||||
BIT_OP(bit_bxor, ^=)
|
BIT_OP(bit_bxor, ^=)
|
||||||
|
|
Loading…
Reference in New Issue