mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
* src/state.h (reductions_t): Rename member `nreds' as num.
(errs_t): Rename members `nerrs' and `errs' as `num' and `symbols'. * src/state.c (ERRS_ALLOC, REDUCTIONS_ALLOC): Use the correct types.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user