mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
bug (GC can collect long identifier during parser) + change (using
a single constant table for all functions in a chunk)
This commit is contained in:
parent
4f292d753c
commit
8ef9e8460e
6 changed files with 47 additions and 46 deletions
3
llex.h
3
llex.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: llex.h,v 1.73 2013/04/16 18:46:28 roberto Exp roberto $
|
||||
** $Id: llex.h,v 1.74 2013/04/26 13:07:53 roberto Exp roberto $
|
||||
** Lexical Analyzer
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -60,6 +60,7 @@ typedef struct LexState {
|
|||
struct lua_State *L;
|
||||
ZIO *z; /* input stream */
|
||||
Mbuffer *buff; /* buffer for tokens */
|
||||
Table *h; /* to avoid collection/reuse strings */
|
||||
struct Dyndata *dyd; /* dynamic structures used by the parser */
|
||||
TString *source; /* current source name */
|
||||
TString *envn; /* environment variable name */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue