diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-08-30 10:19:58 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-08-30 10:19:58 -0300 |
commit | 6087e67771d67a04efc1a067661ccd3a0d4ce40a (patch) | |
tree | 1747e4a5057b06454e727a02c79c438efcff7064 /luaconf.h | |
parent | 93bf6185048256a5df05986460f233ee65136731 (diff) | |
download | lua-6087e67771d67a04efc1a067661ccd3a0d4ce40a.tar.gz lua-6087e67771d67a04efc1a067661ccd3a0d4ce40a.tar.bz2 lua-6087e67771d67a04efc1a067661ccd3a0d4ce40a.zip |
no more compatibility option for long strings
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.83 2006/08/04 13:34:37 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.84 2006/08/07 19:14:30 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 | */ |
@@ -343,14 +343,6 @@ | |||
343 | #define LUA_COMPAT_MOD | 343 | #define LUA_COMPAT_MOD |
344 | 344 | ||
345 | /* | 345 | /* |
346 | @@ LUA_COMPAT_LSTR controls compatibility with old long string nesting | ||
347 | @* facility. | ||
348 | ** CHANGE it to 2 if you want the old behaviour, or undefine it to turn | ||
349 | ** off the advisory error when nesting [[...]]. | ||
350 | */ | ||
351 | #define LUA_COMPAT_LSTR 1 | ||
352 | |||
353 | /* | ||
354 | @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. | 346 | @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. |
355 | ** CHANGE it to undefined as soon as you rename 'string.gfind' to | 347 | ** CHANGE it to undefined as soon as you rename 'string.gfind' to |
356 | ** 'string.gmatch'. | 348 | ** 'string.gmatch'. |