mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
Rename all the bucket's as symbol_t'.
* src/gram.c, src/gram.h, src/lex.c, src/lex.h, src/output.c, * src/reader.c, src/reader.h, src/reduce.c, src/state.h, * src/symtab.c, src/symtab.h (bucket): Rename as... (symbol_t): this. (symbol_list_new, bucket_check_defined, bucket_make_alias) (bucket_check_alias_consistence, bucket_pack, bucket_translation) (bucket_new, bucket_free, hash_compare_bucket, hash_bucket) (buckets_new, buckets_free, buckets_do): Rename as... (symbol_list_new, symbol_check_defined, symbol_make_alias) (symbol_check_alias_consistence, symbol_pack, symbol_translation) (symbol_new, symbol_free, hash_compare_symbol_t, hash_symbol_t) (symbols_new, symbols_free, symbols_do): these.
This commit is contained in:
@@ -125,14 +125,14 @@ typedef struct rule_s
|
||||
except if some rules are useless. */
|
||||
short number;
|
||||
|
||||
bucket *lhs;
|
||||
symbol_t *lhs;
|
||||
short *rhs;
|
||||
|
||||
/* This symbol provides both the associativity, and the precedence. */
|
||||
bucket *prec;
|
||||
symbol_t *prec;
|
||||
|
||||
/* This symbol was attached to the rule via %prec. */
|
||||
bucket *precsym;
|
||||
symbol_t *precsym;
|
||||
|
||||
short line;
|
||||
bool useful;
|
||||
@@ -147,7 +147,7 @@ typedef struct rule_s
|
||||
extern struct rule_s *rules;
|
||||
|
||||
/* Table of the symbols, indexed by the symbol number. */
|
||||
extern struct bucket **symbols;
|
||||
extern symbol_t **symbols;
|
||||
|
||||
/* token translation table: indexed by a token number as returned by
|
||||
the user's yylex routine, it yields the internal token number used
|
||||
|
||||
Reference in New Issue
Block a user