From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat, 5 Oct 2002 05:47:14 +0000 (+0000)
Subject: (SYMBOL_NUMBER_MAX): New macro.
X-Git-Tag: BISON-1_75~63
X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/01eb033cf5528d37e29111fb696cab906145ee93

(SYMBOL_NUMBER_MAX): New macro.
---

diff --git a/src/symtab.h b/src/symtab.h
index fd029d90..2c00c72e 100644
--- a/src/symtab.h
+++ b/src/symtab.h
@@ -40,6 +40,7 @@ typedef enum
 
 /* Internal token numbers. */
 typedef short symbol_number_t;
+#define SYMBOL_NUMBER_MAX ((symbol_number_t) SHRT_MAX)
 
 
 typedef struct symbol_s symbol_t;