summaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-10-08 15:46:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-10-08 15:46:08 -0300
commitb3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4 (patch)
tree746fc9900768dfaf1ddffca35cb4f6fd55903bbf /llex.h
parent02afc892d5ce5d85e88faac443d7294589ee697a (diff)
downloadlua-github-b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4.tar.gz
use of different buffers for scanner and concatenation
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llex.h b/llex.h
index 514d5bbc..d0e4216c 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
/*
-** $Id: llex.h,v 1.43 2002/05/07 17:36:56 roberto Exp roberto $
+** $Id: llex.h,v 1.44 2002/09/03 11:57:38 roberto Exp roberto $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -56,7 +56,8 @@ typedef struct LexState {
Token lookahead; /* look ahead token */
struct FuncState *fs; /* `FuncState' is private to the parser */
struct lua_State *L;
- struct zio *z; /* input stream */
+ ZIO *z; /* input stream */
+ Mbuffer *buff; /* buffer for tokens */
TString *source; /* current source name */
} LexState;