diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-05 13:35:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-05 13:35:37 -0300 |
commit | 6abde1b05a3e7eeb45fc9c0bb77dc660a01497a5 (patch) | |
tree | d15e0540d52db8ae5de71a8be98b643ebbfdee98 /lstate.h | |
parent | d394d5536aeccb937fb6fd8e7476b08d672bc892 (diff) | |
download | lua-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |