]> granicus.if.org Git - flex/commitdiff
Lowered MAX_SHORT out of increased general paranoia.
authorVern Paxson <vern@ee.lbl.gov>
Tue, 30 Nov 1993 13:01:09 +0000 (13:01 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Tue, 30 Nov 1993 13:01:09 +0000 (13:01 +0000)
Added yy_flex_xmalloc() proto

flexdef.h

index 3b5cfd885ddcfa248a7d421e6c925d0c2b4890e3..eb7af1a1aa071deaeb39c497cc7b569b42ef3ef7 100644 (file)
--- a/flexdef.h
+++ b/flexdef.h
 /* Absolute value of largest number that can be stored in a short, with a
  * bit of slop thrown in for general paranoia.
  */
-#define MAX_SHORT 32766
+#define MAX_SHORT 32700
 
 
 /* Declarations for global variables. */
@@ -608,6 +608,7 @@ void *reallocate_array PROTO((void*, int, int));
 void *yy_flex_alloc PROTO((int));
 void *yy_flex_realloc PROTO((void*, int));
 void yy_flex_free PROTO((void*));
+void *yy_flex_xmalloc PROTO((int));
 
 #define allocate_integer_array(size) \
        (int *) allocate_array( size, sizeof( int ) )