From 61a888518f01f8cd34fb2246ccb9c1d65d0257e1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Dec 2004 18:54:12 -0200 Subject: [PATCH] details --- llex.c | 6 +++--- llex.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/llex.c b/llex.c index 59070437..e7c37efa 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 2.7 2004/12/02 12:59:10 roberto Exp roberto $ +** $Id: llex.c,v 2.8 2004/12/03 20:44:19 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -36,9 +36,9 @@ const char *const luaX_tokens [] = { "and", "break", "do", "else", "elseif", "end", "false", "for", "function", "if", "in", "local", "nil", "not", "or", "repeat", - "return", "then", "true", "until", "while", "", + "return", "then", "true", "until", "while", "..", "...", "==", ">=", "<=", "~=", - "", "", "", + "", "", "", "", NULL }; diff --git a/llex.h b/llex.h index 022e175d..e463a98d 100644 --- a/llex.h +++ b/llex.h @@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.50 2004/03/12 19:53:56 roberto Exp roberto $ +** $Id: llex.h,v 1.51 2004/12/02 12:59:10 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -28,8 +28,8 @@ 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_NAME, TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE, TK_NUMBER, - TK_STRING, TK_EOS + TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE, TK_NUMBER, + TK_NAME, TK_STRING, TK_EOS }; /* number of reserved words */