]> git.saurik.com Git - bison.git/commitdiff
(SYMBOL_NUMBER_MAX): New macro.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Oct 2002 05:47:14 +0000 (05:47 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Oct 2002 05:47:14 +0000 (05:47 +0000)
src/symtab.h

index fd029d9094a200a56c8ecf0a096604f083a11d63..2c00c72ed7a355b8cc981a46b2995f0deaa105e4 100644 (file)
@@ -40,6 +40,7 @@ typedef enum
 
 /* Internal token numbers. */
 typedef short symbol_number_t;
 
 /* Internal token numbers. */
 typedef short symbol_number_t;
+#define SYMBOL_NUMBER_MAX ((symbol_number_t) SHRT_MAX)
 
 
 typedef struct symbol_s symbol_t;
 
 
 typedef struct symbol_s symbol_t;