diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-12-21 11:02:14 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-12-21 11:02:14 -0200 |
commit | c0836dda740f735c3f6a01b0090870b6c806d479 (patch) | |
tree | cb5d61b81d20123d38ff83252a8fb3b64de1957d /ldo.h | |
parent | 384d1b47b0542cfb5df38eaac18a2f87726a3ef3 (diff) | |
download | lua-c0836dda740f735c3f6a01b0090870b6c806d479.tar.gz lua-c0836dda740f735c3f6a01b0090870b6c806d479.tar.bz2 lua-c0836dda740f735c3f6a01b0090870b6c806d479.zip |
avoid empty macro arguments (invalid in C89)
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.27 2015/11/19 19:16:22 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.28 2015/11/23 11:29:43 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 | */ |
@@ -25,7 +25,7 @@ | |||
25 | { pre; luaD_growstack(L, n); pos; } else { condmovestack(L,pre,pos); } | 25 | { pre; luaD_growstack(L, n); pos; } else { condmovestack(L,pre,pos); } |
26 | 26 | ||
27 | /* In general, 'pre'/'pos' are empty (nothing to save) */ | 27 | /* In general, 'pre'/'pos' are empty (nothing to save) */ |
28 | #define luaD_checkstack(L,n) luaD_checkstackaux(L,n,,) | 28 | #define luaD_checkstack(L,n) luaD_checkstackaux(L,n,(void)0,(void)0) |
29 | 29 | ||
30 | 30 | ||
31 | 31 | ||