lua-users home
lua-l archive

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


On Wed, Jan 26, 2011 at 9:57 AM, François Perrad
<francois.perrad@gadz.org> wrote:
> But this style is not friendly with some tools like debugger or code
> coverage analysor.
> For example (from luaB_select):
>     if (i < 0) i = n + i;
>     else if (i > n) i = n;

Doesn't the same concern apply to multi-part expressions on the same line?

  if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') {