summaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-17 18:48:58 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-17 18:48:58 -0200
commit502343b40230dfb00efc37bdbaa5c5576f3a5aa5 (patch)
treeb75f9e296ad3229a607fb2b7152dd9efc3706ef6 /llex.h
parent82d09fbf0dbd5aee890f033b25b09dc48ce58a48 (diff)
downloadlua-github-502343b40230dfb00efc37bdbaa5c5576f3a5aa5.tar.gz
new scheme for buffers, centralized in auxlib.
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/llex.h b/llex.h
index eba9c351..7ebfa378 100644
--- a/llex.h
+++ b/llex.h
@@ -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];