X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e41dc70020f5101795c601729594de8661d616e2..7d27c823deae06e004cc3c55f843964e24f518a7:/src/gram.h?ds=sidebyside diff --git a/src/gram.h b/src/gram.h index 531d1d9a..ca55d007 100644 --- a/src/gram.h +++ b/src/gram.h @@ -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;