commit ae29ab9858514eb264be590163c698d5172bbaa4 parent 27407fc1f5fc4e0d97dadeda5939efa62fe7e380 Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Wed, 3 Feb 1999 11:53:26 -0200 only parser uses MAX_WORD Diffstat:
M | lobject.h | | | 9 | +-------- |
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/lobject.h b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.24 1998/12/27 20:25:20 roberto Exp roberto $ +** $Id: lobject.h,v 1.25 1999/01/04 13:37:07 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -41,13 +41,6 @@ typedef unsigned char Byte; /* unsigned 8 bits */ #define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */ -/* maximum value of a word of 2 bytes (-2 for safety); must fit in an "int" */ -#if MAX_INT < 65534 -#define MAX_WORD MAX_INT -#else -#define MAX_WORD 65534 -#endif - typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */