Fix for gcc misleading indentation in lua-engine.cpp.

This commit is contained in:
harry 2024-06-09 14:10:15 -04:00
parent eecb2e77b6
commit e6efd7f694
1 changed files with 2 additions and 2 deletions

View File

@ -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, ^=)