aboutsummaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-02-08 14:39:42 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-02-08 14:39:42 -0200
commit74f1c3d025c6d8a714454470a953f383a1c6a641 (patch)
treecc89dfa109c64ed928217d777959ffc7ace12501 /llex.h
parent1f691a4fcd32b706c79e4c8cbff17c6ae985bc34 (diff)
downloadlua-74f1c3d025c6d8a714454470a953f383a1c6a641.tar.gz
lua-74f1c3d025c6d8a714454470a953f383a1c6a641.tar.bz2
lua-74f1c3d025c6d8a714454470a953f383a1c6a641.zip
small changes for "clean C"
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/llex.h b/llex.h
index 918b4125..8b11cd64 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.h,v 1.16 1999/12/27 17:33:22 roberto Exp roberto $ 2** $Id: llex.h,v 1.17 2000/01/25 18:44:21 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -27,7 +27,10 @@ enum RESERVED {
27 DO, ELSE, ELSEIF, END, FUNCTION, IF, LOCAL, NIL, NOT, OR, 27 DO, ELSE, ELSEIF, END, FUNCTION, IF, LOCAL, NIL, NOT, OR,
28 REPEAT, RETURN, THEN, UNTIL, WHILE, 28 REPEAT, RETURN, THEN, UNTIL, WHILE,
29 /* other terminal symbols */ 29 /* other terminal symbols */
30 NAME, CONC, DOTS, EQ, GE, LE, NE, NUMBER, STRING, EOS}; 30 NAME, CONC, DOTS, EQ, GE, LE, NE, NUMBER, STRING, EOS
31};
32
33#define NUM_RESERVED (WHILE-FIRST_RESERVED+1) /* number of reserved words */
31 34
32 35
33#ifndef MAX_IFS 36#ifndef MAX_IFS