X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3067fbef531832df1e43bbd28787655808361eed..897668ee8d0702bf22f3659b639570d6ef0d1516:/src/gram.h

diff --git a/src/gram.h b/src/gram.h
index 516907c2..fc860386 100644
--- a/src/gram.h
+++ b/src/gram.h
@@ -122,6 +122,8 @@ typedef struct rule_s
   short assoc;
   short line;
   bool useful;
+  const char *action;
+  short action_line;
 } rule_t;
 
 extern struct rule_s *rule_table;
@@ -150,5 +152,9 @@ extern int error_token_number;
 
 
 /* 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_ */