-
- for (i = 0; i < nstates; i++)
- {
- state_t *s = states[i];
- reductions_t *r = s->reductions;
- int j;
- for (j = 0; j < r->num; ++j)
- if (!used_rules[r->rules[j]->number])
- {
- LOCATION_PRINT (stderr, r->rules[j]->location);
- fprintf (stderr, ": %s: %s: ",
- _("warning"),
- _("rule never reduced because of conflicts"));
- rule_print (r->rules[j], stderr);
- }
- }
- free (used_rules);