59 |
/* The location of its first occurence. */ |
/* The location of its first occurence. */ |
60 |
location_t location; |
location_t location; |
61 |
|
|
62 |
/* Its %type and associated destructor. */ |
/* Its %type and associated printer and destructor. */ |
63 |
char *type_name; |
char *type_name; |
64 |
char *destructor; |
char *destructor; |
65 |
location_t destructor_location; |
location_t destructor_location; |
66 |
|
char *printer; |
67 |
|
location_t printer_location; |
68 |
|
|
69 |
symbol_number_t number; |
symbol_number_t number; |
70 |
short prec; |
short prec; |
117 |
void symbol_destructor_set PARAMS ((symbol_t *symbol, location_t location, |
void symbol_destructor_set PARAMS ((symbol_t *symbol, location_t location, |
118 |
char *destructor)); |
char *destructor)); |
119 |
|
|
120 |
|
/* Set the PRINTER associated to SYMBOL. */ |
121 |
|
void symbol_printer_set PARAMS ((symbol_t *symbol, |
122 |
|
char *printer, location_t location)); |
123 |
|
|
124 |
/* Set the PRECEDENCE associated to SYMBOL. Ensures that SYMBOL is a |
/* Set the PRECEDENCE associated to SYMBOL. Ensures that SYMBOL is a |
125 |
terminal. Does nothing if invoked with UNDEF_ASSOC as ASSOC. */ |
terminal. Does nothing if invoked with UNDEF_ASSOC as ASSOC. */ |
126 |
void symbol_precedence_set PARAMS ((symbol_t *symbol, location_t location, |
void symbol_precedence_set PARAMS ((symbol_t *symbol, location_t location, |