From ae29ab9858514eb264be590163c698d5172bbaa4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 3 Feb 1999 11:53:48 -0200 Subject: [PATCH] only parser uses MAX_WORD --- lobject.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lobject.h b/lobject.h index 09660474..4c5d0c12 100644 --- 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) */