X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2ed24dd8c7c94c492ebdff7673808e9d66f8816b..df09ef2e8fc03de1bc17e9687fddd5f2ed86662c:/src/symtab.h diff --git a/src/symtab.h b/src/symtab.h index 42c8ffb8..0f943506 100644 --- a/src/symtab.h +++ b/src/symtab.h @@ -46,6 +46,9 @@ typedef short int symbol_number; typedef struct symbol symbol; + +/* When extending this structure, be sure to complete + symbol_check_alias_consistency. */ struct symbol { /* The key, name of the symbol. */ @@ -55,12 +58,16 @@ struct symbol /* Its %type and associated printer and destructor. */ uniqstr type_name; + location type_location; + char *destructor; location destructor_location; + char *printer; location printer_location; symbol_number number; + location prec_location; short int prec; assoc assoc; int user_token_number;