diff options
Diffstat (limited to 'libs/liblua/src/llex.h')
-rw-r--r-- | libs/liblua/src/llex.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/liblua/src/llex.h b/libs/liblua/src/llex.h index d1a4cba7c2..389d2f8635 100644 --- a/libs/liblua/src/llex.h +++ b/libs/liblua/src/llex.h @@ -7,11 +7,17 @@ #ifndef llex_h #define llex_h +#include <limits.h> + #include "lobject.h" #include "lzio.h" -#define FIRST_RESERVED 257 +/* +** Single-char tokens (terminal symbols) are represented by their own +** numeric code. Other tokens start at the following value. +*/ +#define FIRST_RESERVED (UCHAR_MAX + 1) #if !defined(LUA_ENV) |