static short *shiftset = NULL;
static short **kernel_base = NULL;
-static size_t *kernel_size = NULL;
+static int *kernel_size = NULL;
static short *kernel_items = NULL;
/* hash table for states, to recognize equivalent ones. */
}
shift_symbol = symbol_count;
- kernel_size = XCALLOC (size_t, nsyms);
+ kernel_size = XCALLOC (int, nsyms);
}
get_state (int symbol)
{
int key;
- short *isp2;
int i;
core *sp;
{
if (sp->nitems == kernel_size[symbol])
{
- int i;
found = 1;
for (i = 0; i < kernel_size[symbol]; ++i)
if (kernel_base[symbol][i] != sp->items[i])