lua-users home
lua-l archive

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


On Fri, Aug 26, 2016 at 10:01:38AM -0400, Patrick Donnelly wrote:
> On Wed, Aug 24, 2016 at 9:07 PM, Daurnimator <quae@daurnimator.com> wrote:
> > for (int base_idx = (lua_pushnil(L), lua_gettop(L)); lua_next(L, idx);
> > lua_settop(L, baseidx))
> 
> Eh... that's not ANSI C and I still don't like that it encourages
> sloppy stack discipline.

What's not ANSI C about that?

Chris