mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +00:00
* src/symtab.h, src/symtab.c (symbol_t): destructor_location is a
new member. (symbol_destructor_set): Adjust. * src/output.c (symbol_destructors_output): Output the destructor locations. Output the symbol name. * data/bison.simple (b4_symbol_destructor): Adjust.
This commit is contained in:
@@ -56,13 +56,14 @@ struct symbol_s
|
||||
{
|
||||
/* The key, name of the symbol. */
|
||||
char *tag;
|
||||
/* The location of its first occurence. */
|
||||
location_t location;
|
||||
|
||||
/* Its %type and associated destructor. */
|
||||
char *type_name;
|
||||
char *destructor;
|
||||
location_t destructor_location;
|
||||
|
||||
/* The location of its first occurence. */
|
||||
location_t location;
|
||||
|
||||
symbol_number_t number;
|
||||
short prec;
|
||||
|
||||
Reference in New Issue
Block a user