From b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 8 Oct 2002 15:46:08 -0300 Subject: use of different buffers for scanner and concatenation --- llex.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'llex.h') 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; -- cgit v1.2.1