diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-09-07 16:21:39 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-09-07 16:21:39 -0300 |
commit | 0df2238063f3e5b1a12c5272484f2afd45a2a2f1 (patch) | |
tree | 04361bb15edb5dbeba28ecd0103a0f29807112ad /loadlib.c | |
parent | 6828f6d42786de735d6696da8cccbb47c8bad347 (diff) | |
download | lua-0df2238063f3e5b1a12c5272484f2afd45a2a2f1.tar.gz lua-0df2238063f3e5b1a12c5272484f2afd45a2a2f1.tar.bz2 lua-0df2238063f3e5b1a12c5272484f2afd45a2a2f1.zip |
name "_ENV" configurable through 'luaconf.h'
Diffstat (limited to 'loadlib.c')
-rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loadlib.c,v 1.89 2010/07/28 15:51:59 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.90 2010/08/02 17:14:48 roberto Exp roberto $ |
3 | ** Dynamic library loader for Lua | 3 | ** Dynamic library loader for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | ** | 5 | ** |
@@ -496,7 +496,7 @@ static int ll_require (lua_State *L) { | |||
496 | #if defined(LUA_COMPAT_MODULE) | 496 | #if defined(LUA_COMPAT_MODULE) |
497 | 497 | ||
498 | /* | 498 | /* |
499 | ** changes the _ENV variable of calling function | 499 | ** changes the environment variable of calling function |
500 | */ | 500 | */ |
501 | static void set_env (lua_State *L) { | 501 | static void set_env (lua_State *L) { |
502 | lua_Debug ar; | 502 | lua_Debug ar; |