diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-10-08 15:46:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-10-08 15:46:08 -0300 |
commit | b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4 (patch) | |
tree | 746fc9900768dfaf1ddffca35cb4f6fd55903bbf /llex.h | |
parent | 02afc892d5ce5d85e88faac443d7294589ee697a (diff) | |
download | lua-github-b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4.tar.gz |
use of different buffers for scanner and concatenation
Diffstat (limited to 'llex.h')
-rw-r--r-- | llex.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |