lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 8edbf57fb8e3c20aac9560b7e4cce7583d14ebf6
parent 7fe1a4cff3998bf019144924f39aec3f76a5cf32
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue, 20 Sep 2016 13:37:19 -0300

detail (ANSI C does not accept empty arguments to macros)

Diffstat:
Mldo.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ldo.c b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 2.153 2016/08/01 19:51:24 roberto Exp roberto $ +** $Id: ldo.c,v 2.155 2016/09/08 16:36:26 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -232,8 +232,8 @@ void luaD_shrinkstack (lua_State *L) { if (inuse <= (LUAI_MAXSTACK - EXTRA_STACK) && goodsize < L->stacksize) luaD_reallocstack(L, goodsize); - else - condmovestack(L,,); /* don't change stack (change only for debugging) */ + else /* don't change stack */ + condmovestack(L,{},{}); /* (change only for debugging) */ }