diff options
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.66 2005/09/14 17:23:03 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.67 2005/09/14 17:44:48 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 | */ |
@@ -316,20 +316,12 @@ | |||
316 | #define LUA_COMPAT_LSTR 1 | 316 | #define LUA_COMPAT_LSTR 1 |
317 | 317 | ||
318 | /* | 318 | /* |
319 | @@ LUA_COMPAT_FIND controls compatibility with old 'string.find' behavior. | ||
320 | ** CHANGE it to undefined as soon as your programs use 'string.find' only | ||
321 | ** to find patterns. | ||
322 | */ | ||
323 | #define LUA_COMPAT_FIND | ||
324 | |||
325 | /* | ||
326 | @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. | 319 | @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. |
327 | ** CHANGE it to undefined as soon as you rename 'string.gfind' to | 320 | ** CHANGE it to undefined as soon as you rename 'string.gfind' to |
328 | ** 'string.gmatch'. | 321 | ** 'string.gmatch'. |
329 | */ | 322 | */ |
330 | #define LUA_COMPAT_GFIND | 323 | #define LUA_COMPAT_GFIND |
331 | 324 | ||
332 | |||
333 | /* | 325 | /* |
334 | @@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib' | 326 | @@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib' |
335 | @* behavior. | 327 | @* behavior. |