'_ENV' name permanently stored in global state for easier access

This commit is contained in:
Roberto Ierusalimschy
2010-03-13 12:55:42 -03:00
parent 63a2b62468
commit 22ef84b6c8
5 changed files with 11 additions and 12 deletions

3
llex.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: llex.h,v 1.62 2009/10/11 20:02:19 roberto Exp roberto $
** $Id: llex.h,v 1.63 2010/03/08 16:55:52 roberto Exp roberto $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -60,7 +60,6 @@ typedef struct LexState {
Mbuffer *buff; /* buffer for tokens */
struct Varlist *varl; /* list of all active local variables */
TString *source; /* current source name */
TString *envn; /* name of environment variable */
char decpoint; /* locale decimal point */
} LexState;