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-b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4.tar.gz lua-b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4.tar.bz2 lua-b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4.zip |
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 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.h,v 1.43 2002/05/07 17:36:56 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.44 2002/09/03 11:57:38 roberto Exp roberto $ |
3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -56,7 +56,8 @@ typedef struct LexState { | |||
56 | Token lookahead; /* look ahead token */ | 56 | Token lookahead; /* look ahead token */ |
57 | struct FuncState *fs; /* `FuncState' is private to the parser */ | 57 | struct FuncState *fs; /* `FuncState' is private to the parser */ |
58 | struct lua_State *L; | 58 | struct lua_State *L; |
59 | struct zio *z; /* input stream */ | 59 | ZIO *z; /* input stream */ |
60 | Mbuffer *buff; /* buffer for tokens */ | ||
60 | TString *source; /* current source name */ | 61 | TString *source; /* current source name */ |
61 | } LexState; | 62 | } LexState; |
62 | 63 | ||