| Numbering states. |
`-------------------*/
-typedef short int state_number;
-# define STATE_NUMBER_MAXIMUM SHRT_MAX
+typedef int state_number;
+# define STATE_NUMBER_MAXIMUM INT_MAX
/* Be ready to map a state_number to an int. */
static inline int
typedef struct
{
- short int num;
+ int num;
state *states[1];
} transitions;
typedef struct
{
- short int num;
+ int num;
symbol *symbols[1];
} errs;
typedef struct
{
- short int num;
+ int num;
bitset *look_ahead_tokens;
rule *rules[1];
} reductions;
/* Its items. Must be last, since ITEMS can be arbitrarily large.
*/
- unsigned short int nitems;
+ size_t nitems;
item_number items[1];
};