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 /llex.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 'llex.h')
-rw-r--r-- | llex.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.h,v 1.63 2010/03/08 16:55:52 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.64 2010/03/13 15:55:42 roberto Exp roberto $ |
3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -60,6 +60,7 @@ typedef struct LexState { | |||
60 | Mbuffer *buff; /* buffer for tokens */ | 60 | Mbuffer *buff; /* buffer for tokens */ |
61 | struct Varlist *varl; /* list of all active local variables */ | 61 | struct Varlist *varl; /* list of all active local variables */ |
62 | TString *source; /* current source name */ | 62 | TString *source; /* current source name */ |
63 | TString *envn; /* environment variable name */ | ||
63 | char decpoint; /* locale decimal point */ | 64 | char decpoint; /* locale decimal point */ |
64 | } LexState; | 65 | } LexState; |
65 | 66 | ||