mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
* src/symtab.c (bucket_new): New function.
(getsym): Use it. * src/output.c (output_short_table): New argument to display the comment associated with the table. Adjust dependencies. (output_gram): Use it. (output_rule_data): Nicer output layout for YYTNAME.
This commit is contained in:
@@ -37,6 +37,7 @@ typedef enum
|
||||
|
||||
typedef struct bucket
|
||||
{
|
||||
/* Needed for the hash table. */
|
||||
struct bucket *link;
|
||||
struct bucket *next;
|
||||
|
||||
@@ -48,10 +49,10 @@ typedef struct bucket
|
||||
short prec;
|
||||
associativity assoc;
|
||||
short user_token_number;
|
||||
/* special value SALIAS in the identifier half of the
|
||||
identifier-symbol pair for an alias */
|
||||
/* Points to the other in the identifier-symbol pair for an
|
||||
alias. Special value SALIAS in the identifier half of the
|
||||
identifier-symbol pair for an alias. */
|
||||
struct bucket *alias;
|
||||
/* points to the other in the identifier-symbol pair for an alias */
|
||||
symbol_class class;
|
||||
}
|
||||
bucket;
|
||||
|
||||
Reference in New Issue
Block a user