diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-27 15:37:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-27 15:37:51 -0300 |
commit | cf5d1bdd761d5f9c7be45dd193094b52a2723f00 (patch) | |
tree | b3fd8aa832acbe3f9162d2a090ef36f51357cf0c /luaconf.h | |
parent | 8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (diff) | |
download | lua-cf5d1bdd761d5f9c7be45dd193094b52a2723f00.tar.gz lua-cf5d1bdd761d5f9c7be45dd193094b52a2723f00.tar.bz2 lua-cf5d1bdd761d5f9c7be45dd193094b52a2723f00.zip |
nesting of long strings only in compatibility mode
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.43 2005/04/07 13:52:45 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.44 2005/04/25 19:24:10 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 | */ |
@@ -267,6 +267,13 @@ | |||
267 | */ | 267 | */ |
268 | #define LUA_COMPAT_VARARG 1 | 268 | #define LUA_COMPAT_VARARG 1 |
269 | 269 | ||
270 | /* | ||
271 | @@ LUA_COMPAT_LSTR controls compatibility with old long string nesting | ||
272 | @* facility. | ||
273 | ** CHANGE it to 2 if you want the old behaviour, or undefine it to turn | ||
274 | ** off the advisory error when nesting [[...]]. | ||
275 | */ | ||
276 | #define LUA_COMPAT_LSTR 1 | ||
270 | 277 | ||
271 | /* | 278 | /* |
272 | @@ luai_apicheck is the assert macro used by the Lua-C API. | 279 | @@ luai_apicheck is the assert macro used by the Lua-C API. |