diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-17 18:48:58 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-17 18:48:58 -0200 |
commit | 502343b40230dfb00efc37bdbaa5c5576f3a5aa5 (patch) | |
tree | b75f9e296ad3229a607fb2b7152dd9efc3706ef6 /llex.h | |
parent | 82d09fbf0dbd5aee890f033b25b09dc48ce58a48 (diff) | |
download | lua-github-502343b40230dfb00efc37bdbaa5c5576f3a5aa5.tar.gz |
new scheme for buffers, centralized in auxlib.
Diffstat (limited to 'llex.h')
-rw-r--r-- | llex.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.4 1997/11/26 18:53:45 roberto Exp roberto $ +** $Id: llex.h,v 1.5 1997/12/02 12:43:44 roberto Exp roberto $ ** Lexical Analizer ** See Copyright Notice in lua.h */ @@ -21,18 +21,11 @@ struct ifState { int skip; /* true if part must be skiped */ }; -struct textBuff { - char *text; /* always points to luaM_buffer */ - int tokensize; - int buffsize; -}; - typedef struct LexState { int current; /* look ahead character */ struct zio *lex_z; /* input stream */ int linenumber; /* input line counter */ - struct textBuff textbuff; /* buffer for tokens */ int linelasttoken; /* line where last token was read */ int lastline; /* last line wherein a SETLINE was generated */ struct ifState ifstate[MAX_IFS]; |