[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: the C coding style in lua sources
- From: David Manura <dm.lua@...>
- Date: Wed, 26 Jan 2011 10:52:32 -0500
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) == '#') {