diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-03-26 09:57:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-03-26 09:57:01 -0300 |
commit | 3dbf30540892b4b9c86e0cb663069cd478a0c900 (patch) | |
tree | 0a86ef692b04ce14b57734b0034452e32aadd610 /luaconf.h | |
parent | 6d0ae11c576106b490a53215c3f227b65ace2776 (diff) | |
download | lua-3dbf30540892b4b9c86e0cb663069cd478a0c900.tar.gz lua-3dbf30540892b4b9c86e0cb663069cd478a0c900.tar.bz2 lua-3dbf30540892b4b9c86e0cb663069cd478a0c900.zip |
no more support for old-style varargs
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.102 2009/02/18 13:17:10 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.103 2009/02/20 13:50:27 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -352,13 +352,6 @@ | |||
352 | 352 | ||
353 | 353 | ||
354 | /* | 354 | /* |
355 | @@ LUA_COMPAT_VARARG controls compatibility with old vararg feature. | ||
356 | ** CHANGE it to undefined as soon as your programs use only '...' to | ||
357 | ** access vararg parameters (instead of the old 'arg' table). | ||
358 | */ | ||
359 | #define LUA_COMPAT_VARARG | ||
360 | |||
361 | /* | ||
362 | @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. | 355 | @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. |
363 | ** CHANGE it to undefined as soon as you rename 'string.gfind' to | 356 | ** CHANGE it to undefined as soon as you rename 'string.gfind' to |
364 | ** 'string.gmatch'. | 357 | ** 'string.gmatch'. |