From cf5d1bdd761d5f9c7be45dd193094b52a2723f00 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 27 Apr 2005 15:37:51 -0300 Subject: nesting of long strings only in compatibility mode --- luaconf.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index f7a6c0ec..8b25f23b 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.43 2005/04/07 13:52:45 roberto Exp roberto $ +** $Id: luaconf.h,v 1.44 2005/04/25 19:24:10 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -267,6 +267,13 @@ */ #define LUA_COMPAT_VARARG 1 +/* +@@ LUA_COMPAT_LSTR controls compatibility with old long string nesting +@* facility. +** CHANGE it to 2 if you want the old behaviour, or undefine it to turn +** off the advisory error when nesting [[...]]. +*/ +#define LUA_COMPAT_LSTR 1 /* @@ luai_apicheck is the assert macro used by the Lua-C API. -- cgit v1.2.3-55-g6feb