summaryrefslogtreecommitdiffhomepage
path: root/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.c')
-rw-r--r--lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer.c b/lexer.c
index c0fd154..67d390a 100644
--- a/lexer.c
+++ b/lexer.c
@@ -136,7 +136,7 @@ static const struct token reserved_words[] = {
{ T_IN, "in", 2 },
};
-const char *tokennames[69] = {
+const char *tokennames[__T_MAX] = {
[0] = "End of file",
[T_FUNC] = "'function'",
[T_LOCAL] = "'local'",