mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
first step towards _ENV: all chunks have an puvalues _ENV with the
global table
This commit is contained in:
parent
c295147874
commit
1124cb1247
3 changed files with 33 additions and 13 deletions
3
llex.h
3
llex.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: llex.h,v 1.61 2007/10/25 16:45:47 roberto Exp roberto $
|
||||
** $Id: llex.h,v 1.62 2009/10/11 20:02:19 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; /* name of environment variable */
|
||||
char decpoint; /* locale decimal point */
|
||||
} LexState;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue