mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
no need to keep "_ENV" name in global state (can be kept in lex state)
This commit is contained in:
parent
d394d5536a
commit
6abde1b05a
5 changed files with 12 additions and 12 deletions
3
llex.h
3
llex.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: llex.h,v 1.63 2010/03/08 16:55:52 roberto Exp roberto $
|
||||
** $Id: llex.h,v 1.64 2010/03/13 15:55:42 roberto Exp roberto $
|
||||
** Lexical Analyzer
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -60,6 +60,7 @@ typedef struct LexState {
|
|||
Mbuffer *buff; /* buffer for tokens */
|
||||
struct Varlist *varl; /* list of all active local variables */
|
||||
TString *source; /* current source name */
|
||||
TString *envn; /* environment variable name */
|
||||
char decpoint; /* locale decimal point */
|
||||
} LexState;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue