* src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
pacify GCC's signed < unsigned warnings.
* src/closure.c (itemsetsize): Likewise.
* src/reader.c (symbol_list_new): Static.
+2001-11-23 Akim Demaille <akim@epita.fr>
+
+ * src/print_graph.c (print_actions): Remove `rule', unused.
+ * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
+ pacify GCC's signed < unsigned warnings.
+ * src/closure.c (itemsetsize): Likewise.
+ * src/reader.c (symbol_list_new): Static.
+
+
2001-11-23 Akim Demaille <akim@epita.fr>
Attaching lineno to buckets is stupid, since only one copy of each
2001-11-23 Akim Demaille <akim@epita.fr>
Attaching lineno to buckets is stupid, since only one copy of each
static short *shiftset = NULL;
static short **kernel_base = NULL;
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. */
static short *kernel_items = NULL;
/* hash table for states, to recognize equivalent ones. */
get_state (int symbol)
{
int key;
get_state (int symbol)
{
int key;
{
if (sp->nitems == kernel_size[symbol])
{
{
if (sp->nitems == kernel_size[symbol])
{
found = 1;
for (i = 0; i < kernel_size[symbol]; ++i)
if (kernel_base[symbol][i] != sp->items[i])
found = 1;
for (i = 0; i < kernel_size[symbol]; ++i)
if (kernel_base[symbol][i] != sp->items[i])
/* ITEMSETSIZE is the size of the array ITEMSET. */
short *itemset;
/* ITEMSETSIZE is the size of the array ITEMSET. */
short *itemset;
static unsigned *ruleset;
static unsigned *ruleset;
void free_closure PARAMS ((void));
extern short *itemset;
void free_closure PARAMS ((void));
extern short *itemset;
-extern size_t itemsetsize;
shifts *shiftp;
errs *errp;
reductions *redp;
shifts *shiftp;
errs *errp;
reductions *redp;
static char buff[10];
edge_t edge;
static char buff[10];
edge_t edge;
static bucket *undeftoken;
static bucket *undeftoken;
symbol_list_new (bucket *sym)
{
symbol_list *res = XMALLOC (symbol_list, 1);
symbol_list_new (bucket *sym)
{
symbol_list *res = XMALLOC (symbol_list, 1);