summaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-20 18:07:57 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-20 18:07:57 -0300
commitfccadba4b54f8e13c8b9cfc97307f53931496936 (patch)
tree12c65eb6653b386358b932794fa7afb9c48ae6bb /llex.h
parentb940f09984b47979caf8142046e1fe813e531e3d (diff)
downloadlua-github-fccadba4b54f8e13c8b9cfc97307f53931496936.tar.gz
new reserved words `in' and `global'
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llex.h b/llex.h
index 4a4370f7..6d0cba47 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
/*
-** $Id: llex.h,v 1.34 2001/02/23 17:17:25 roberto Exp roberto $
+** $Id: llex.h,v 1.35 2001/03/06 14:46:54 roberto Exp roberto $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -24,8 +24,9 @@
enum RESERVED {
/* terminal symbols denoted by reserved words */
TK_AND = FIRST_RESERVED, TK_BREAK,
- TK_DO, TK_ELSE, TK_ELSEIF, TK_END, TK_FOR, TK_FUNCTION, TK_IF, TK_LOCAL,
- TK_NIL, TK_NOT, TK_OR, TK_REPEAT, TK_RETURN, TK_THEN, TK_UNTIL, TK_WHILE,
+ TK_DO, TK_ELSE, TK_ELSEIF, TK_END, TK_FOR, TK_FUNCTION, TK_GLOBAL, TK_IF,
+ TK_IN, TK_LOCAL, TK_NIL, TK_NOT, TK_OR, TK_REPEAT, TK_RETURN, TK_THEN,
+ TK_UNTIL, TK_WHILE,
/* other terminal symbols */
TK_NAME, TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE, TK_NUMBER,
TK_STRING, TK_EOS