]> git.saurik.com Git - bison.git/blobdiff - src/gram.h
* src/bison.simple (union yyalloc): Change member names
[bison.git] / src / gram.h
index 531d1d9aa3a1ea72f2dcfb0089dfaff143be0c5e..ca55d007b55ed79062969415f4b054469c0c673c 100644 (file)
@@ -59,6 +59,8 @@
 
    RULE_TABLE[R].line -- the line where R was defined.
 
+   RULE_TABLE[R].useful -- TRUE iff the rule is used.
+
    The right hand side is stored as symbol numbers in a portion of
    RITEM.
 
@@ -119,6 +121,7 @@ typedef struct rule_s
   short precsym;
   short assoc;
   short line;
+  bool useful;
 } rule_t;
 
 extern struct rule_s *rule_table;