aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-03 11:53:48 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-03 11:53:48 -0200
commitae29ab9858514eb264be590163c698d5172bbaa4 (patch)
treea7b095ae23d67ada6beafa90cbbdf25586468401
parent27407fc1f5fc4e0d97dadeda5939efa62fe7e380 (diff)
downloadlua-ae29ab9858514eb264be590163c698d5172bbaa4.tar.gz
lua-ae29ab9858514eb264be590163c698d5172bbaa4.tar.bz2
lua-ae29ab9858514eb264be590163c698d5172bbaa4.zip
only parser uses MAX_WORD
-rw-r--r--lobject.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lobject.h b/lobject.h
index 09660474..4c5d0c12 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.24 1998/12/27 20:25:20 roberto Exp roberto $ 2** $Id: lobject.h,v 1.25 1999/01/04 13:37:07 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -41,13 +41,6 @@ typedef unsigned char Byte; /* unsigned 8 bits */
41 41
42#define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */ 42#define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */
43 43
44/* maximum value of a word of 2 bytes (-2 for safety); must fit in an "int" */
45#if MAX_INT < 65534
46#define MAX_WORD MAX_INT
47#else
48#define MAX_WORD 65534
49#endif
50
51typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */ 44typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */
52 45
53 46