diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-20 16:09:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-20 16:09:05 -0300 |
commit | 38da9d568a4702a6f9405882db56c2a2aa3189c1 (patch) | |
tree | 2be313995c06dd80b8dcf6ccf8434b6ba7df1b30 /ldo.c | |
parent | f21e9c172f9f15d8d7501e35635e78dc11f5ff58 (diff) | |
download | lua-38da9d568a4702a6f9405882db56c2a2aa3189c1.tar.gz lua-38da9d568a4702a6f9405882db56c2a2aa3189c1.tar.bz2 lua-38da9d568a4702a6f9405882db56c2a2aa3189c1.zip |
better use defined/undefined as flag values for macros
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.22 2005/04/05 13:41:29 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.23 2005/05/03 19:01:17 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -198,7 +198,7 @@ static StkId adjust_varargs (lua_State *L, int nfixargs, int actual, | |||
198 | for (; actual < nfixargs; ++actual) | 198 | for (; actual < nfixargs; ++actual) |
199 | setnilvalue(L->top++); | 199 | setnilvalue(L->top++); |
200 | } | 200 | } |
201 | #if LUA_COMPAT_VARARG | 201 | #if defined(LUA_COMPAT_VARARG) |
202 | if (style != NEWSTYLEVARARG) { /* compatibility with old-style vararg */ | 202 | if (style != NEWSTYLEVARARG) { /* compatibility with old-style vararg */ |
203 | int nvar = actual - nfixargs; /* number of extra arguments */ | 203 | int nvar = actual - nfixargs; /* number of extra arguments */ |
204 | luaC_checkGC(L); | 204 | luaC_checkGC(L); |