diff options
Diffstat (limited to 'llex.h')
-rw-r--r-- | llex.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.h,v 1.4 1997/11/26 18:53:45 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.5 1997/12/02 12:43:44 roberto Exp roberto $ |
3 | ** Lexical Analizer | 3 | ** Lexical Analizer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -21,18 +21,11 @@ struct ifState { | |||
21 | int skip; /* true if part must be skiped */ | 21 | int skip; /* true if part must be skiped */ |
22 | }; | 22 | }; |
23 | 23 | ||
24 | struct textBuff { | ||
25 | char *text; /* always points to luaM_buffer */ | ||
26 | int tokensize; | ||
27 | int buffsize; | ||
28 | }; | ||
29 | |||
30 | 24 | ||
31 | typedef struct LexState { | 25 | typedef struct LexState { |
32 | int current; /* look ahead character */ | 26 | int current; /* look ahead character */ |
33 | struct zio *lex_z; /* input stream */ | 27 | struct zio *lex_z; /* input stream */ |
34 | int linenumber; /* input line counter */ | 28 | int linenumber; /* input line counter */ |
35 | struct textBuff textbuff; /* buffer for tokens */ | ||
36 | int linelasttoken; /* line where last token was read */ | 29 | int linelasttoken; /* line where last token was read */ |
37 | int lastline; /* last line wherein a SETLINE was generated */ | 30 | int lastline; /* last line wherein a SETLINE was generated */ |
38 | struct ifState ifstate[MAX_IFS]; | 31 | struct ifState ifstate[MAX_IFS]; |