]> git.saurik.com Git - bison.git/blobdiff - src/state.h
* src/state.h (reductions_t): Rename member `nreds' as num.
[bison.git] / src / state.h
index dd13a91696bfc96b373e040f0df3200bfeea7d35..6e3b2b3adbd1a0ffa4e141dd853beb8455ce4d5b 100644 (file)
@@ -152,8 +152,8 @@ struct state_s *transitions_to PARAMS ((transitions_t *state,
 
 typedef struct errs_s
 {
-  short nerrs;
-  short errs[1];
+  short num;
+  symbol_number_t symbols[1];
 } errs_t;
 
 errs_t *errs_new PARAMS ((int n));
@@ -166,8 +166,8 @@ errs_t *errs_dup PARAMS ((errs_t *src));
 
 typedef struct reductions_s
 {
-  short nreds;
-  short rules[1];
+  short num;
+  rule_number_t rules[1];
 } reductions_t;