+ritem_print (FILE *out)
+{
+ int i;
+ fputs ("RITEM\n", out);
+ for (i = 0; ritem[i]; ++i)
+ if (ritem[i] > 0)
+ fprintf (out, " %s", tags[ritem[i]]);
+ else
+ fprintf (out, " (rule %d)\n", -ritem[i]);
+ fputs ("\n\n", out);
+}
+
+
+/*------------------------------------------.
+| Return the size of the longest rule RHS. |
+`------------------------------------------*/
+
+size_t
+ritem_longest_rhs (void)