summaryrefslogtreecommitdiff
path: root/src/llex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/llex.h')
-rw-r--r--src/llex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/llex.h b/src/llex.h
index 7cba9906..4a5d5286 100644
--- a/src/llex.h
+++ b/src/llex.h
@@ -1,5 +1,5 @@
/*
-** $Id: llex.h,v 1.74 2013/04/26 13:07:53 roberto Exp $
+** $Id: llex.h,v 1.76 2013/12/30 20:47:58 roberto Exp $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -27,6 +27,7 @@ enum RESERVED {
TK_RETURN, TK_THEN, TK_TRUE, TK_UNTIL, TK_WHILE,
/* other terminal symbols */
TK_IDIV, TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE,
+ TK_SHL, TK_SHR,
TK_DBCOLON, TK_EOS,
TK_FLT, TK_INT, TK_NAME, TK_STRING
};
@@ -60,6 +61,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 */