aboutsummaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llex.h b/llex.h
index c3500ef6..37016e8a 100644
--- a/llex.h
+++ b/llex.h
@@ -33,8 +33,8 @@ enum RESERVED {
33 /* terminal symbols denoted by reserved words */ 33 /* terminal symbols denoted by reserved words */
34 TK_AND = FIRST_RESERVED, TK_BREAK, 34 TK_AND = FIRST_RESERVED, TK_BREAK,
35 TK_DO, TK_ELSE, TK_ELSEIF, TK_END, TK_FALSE, TK_FOR, TK_FUNCTION, 35 TK_DO, TK_ELSE, TK_ELSEIF, TK_END, TK_FALSE, TK_FOR, TK_FUNCTION,
36 TK_GOTO, TK_IF, TK_IN, TK_LOCAL, TK_NIL, TK_NOT, TK_OR, TK_REPEAT, 36 TK_GLOBAL, TK_GOTO, TK_IF, TK_IN, TK_LOCAL, TK_NIL, TK_NOT, TK_OR,
37 TK_RETURN, TK_THEN, TK_TRUE, TK_UNTIL, TK_WHILE, 37 TK_REPEAT, TK_RETURN, TK_THEN, TK_TRUE, TK_UNTIL, TK_WHILE,
38 /* other terminal symbols */ 38 /* other terminal symbols */
39 TK_IDIV, TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE, 39 TK_IDIV, TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE,
40 TK_SHL, TK_SHR, 40 TK_SHL, TK_SHR,
@@ -75,6 +75,8 @@ typedef struct LexState {
75 struct Dyndata *dyd; /* dynamic structures used by the parser */ 75 struct Dyndata *dyd; /* dynamic structures used by the parser */
76 TString *source; /* current source name */ 76 TString *source; /* current source name */
77 TString *envn; /* environment variable name */ 77 TString *envn; /* environment variable name */
78 TString *brkn; /* "break" name (used as a label) */
79 TString *glbn; /* "global" name (when not a reserved word) */
78} LexState; 80} LexState;
79 81
80 82