summaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-02-07 15:49:18 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-02-07 15:49:18 -0200
commit92dc64e1216ad9559827bdcce7bb9b0cf5d7c0ef (patch)
tree231badb92c29835ebcb320944f58f0df08480e27 /llex.h
parent593bfc96685bd518978d2622671412d1862881e6 (diff)
downloadlua-github-92dc64e1216ad9559827bdcce7bb9b0cf5d7c0ef.tar.gz
more regularity in the use of quotes in error messages
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/llex.h b/llex.h
index cbe88403..fedcbc9e 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
/*
-** $Id: llex.h,v 1.57 2005/12/07 15:43:05 roberto Exp roberto $
+** $Id: llex.h,v 1.58 2006/03/23 18:23:32 roberto Exp roberto $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -28,18 +28,14 @@ enum RESERVED {
TK_IF, TK_IN, TK_LOCAL, TK_NIL, TK_NOT, TK_OR, TK_REPEAT,
TK_RETURN, TK_THEN, TK_TRUE, TK_UNTIL, TK_WHILE,
/* other terminal symbols */
- TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE, TK_NUMBER,
- TK_NAME, TK_STRING, TK_EOS
+ TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE, TK_EOS,
+ TK_NUMBER, TK_NAME, TK_STRING
};
/* number of reserved words */
#define NUM_RESERVED (cast(int, TK_WHILE-FIRST_RESERVED+1))
-/* array with token `names' */
-LUAI_DATA const char *const luaX_tokens [];
-
-
typedef union {
lua_Number r;
TString *ts;