diff options
Diffstat (limited to 'llex.h')
| -rw-r--r-- | llex.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -50,13 +50,13 @@ typedef struct Token { | |||
| 50 | 50 | ||
| 51 | typedef struct LexState { | 51 | typedef struct LexState { |
| 52 | int current; /* current character (charint) */ | 52 | int current; /* current character (charint) */ |
| 53 | int linenumber; /* input line counter */ | ||
| 54 | int lastline; /* line of last token `consumed' */ | ||
| 53 | Token t; /* current token */ | 55 | Token t; /* current token */ |
| 54 | Token lookahead; /* look ahead token */ | 56 | Token lookahead; /* look ahead token */ |
| 55 | struct FuncState *fs; /* `FuncState' is private to the parser */ | 57 | struct FuncState *fs; /* `FuncState' is private to the parser */ |
| 56 | struct lua_State *L; | 58 | struct lua_State *L; |
| 57 | struct zio *z; /* input stream */ | 59 | struct zio *z; /* input stream */ |
| 58 | int linenumber; /* input line counter */ | ||
| 59 | int lastline; /* line of last token `consumed' */ | ||
| 60 | TString *source; /* current source name */ | 60 | TString *source; /* current source name */ |
| 61 | } LexState; | 61 | } LexState; |
| 62 | 62 | ||
