aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-07 16:21:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-07 16:21:39 -0300
commit0df2238063f3e5b1a12c5272484f2afd45a2a2f1 (patch)
tree04361bb15edb5dbeba28ecd0103a0f29807112ad /loadlib.c
parent6828f6d42786de735d6696da8cccbb47c8bad347 (diff)
downloadlua-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadlib.c b/loadlib.c
index d46f4acd..c9d7625d 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -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*/
501static void set_env (lua_State *L) { 501static void set_env (lua_State *L) {
502 lua_Debug ar; 502 lua_Debug ar;