nesting of long strings only in compatibility mode

This commit is contained in:
Roberto Ierusalimschy
2005-04-27 15:37:51 -03:00
parent 8718fda9b2
commit cf5d1bdd76
2 changed files with 32 additions and 10 deletions

View File

@@ -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.