aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-27 15:37:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-27 15:37:51 -0300
commitcf5d1bdd761d5f9c7be45dd193094b52a2723f00 (patch)
treeb3fd8aa832acbe3f9162d2a090ef36f51357cf0c /luaconf.h
parent8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (diff)
downloadlua-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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index f7a6c0ec..8b25f23b 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -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.