summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-05 13:35:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-05 13:35:37 -0300
commit6abde1b05a3e7eeb45fc9c0bb77dc660a01497a5 (patch)
treed15e0540d52db8ae5de71a8be98b643ebbfdee98 /lstate.h
parentd394d5536aeccb937fb6fd8e7476b08d672bc892 (diff)
downloadlua-6abde1b05a3e7eeb45fc9c0bb77dc660a01497a5.tar.gz
lua-6abde1b05a3e7eeb45fc9c0bb77dc660a01497a5.tar.bz2
lua-6abde1b05a3e7eeb45fc9c0bb77dc660a01497a5.zip
no need to keep "_ENV" name in global state (can be kept in lex state)
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index caaa70ec..1c70aca8 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.58 2010/03/26 20:58:11 roberto Exp roberto $ 2** $Id: lstate.h,v 2.59 2010/03/29 17:43:14 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -142,7 +142,6 @@ typedef struct global_State {
142 lua_CFunction panic; /* to be called in unprotected errors */ 142 lua_CFunction panic; /* to be called in unprotected errors */
143 struct lua_State *mainthread; 143 struct lua_State *mainthread;
144 const lua_Number *version; /* pointer to version number */ 144 const lua_Number *version; /* pointer to version number */
145 TString *envn; /* environment variable name */
146 TString *tmname[TM_N]; /* array with tag-method names */ 145 TString *tmname[TM_N]; /* array with tag-method names */
147 struct Table *mt[NUM_TAGS]; /* metatables for basic types */ 146 struct Table *mt[NUM_TAGS]; /* metatables for basic types */
148} global_State; 147} global_State;