summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1993-11-30 13:01:09 +0000
committerVern Paxson <vern@ee.lbl.gov>1993-11-30 13:01:09 +0000
commit1d99f7ba80a3bd6480f4121ab73deb2792d8bedd (patch)
tree5c1d35b9ef92582abdc142e21f94ba163a78539e /flexdef.h
parent8f442975feb730c8b69e5ac26eb5e3c046f453d1 (diff)
Lowered MAX_SHORT out of increased general paranoia.
Added yy_flex_xmalloc() proto
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/flexdef.h b/flexdef.h
index 3b5cfd8..eb7af1a 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -266,7 +266,7 @@
/* 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 ) )