extern int nvars;
extern short *ritem;
+extern int nritems;
extern short *sprec;
extern short *sassoc;
short assoc;
short line;
bool useful;
+
+ const char *action;
+ short action_line;
+
+ const char *guard;
+ short guard_line;
} rule_t;
extern struct rule_s *rule_table;
/* Dump RITEM for traces. */
-void ritem_print (FILE *out);
+void ritem_print PARAMS ((FILE *out));
+
+/* Return the size of the longest rule RHS. */
+size_t ritem_longest_rhs PARAMS ((void));
+
#endif /* !GRAM_H_ */