57 |
/* The key, name of the symbol. */ |
/* The key, name of the symbol. */ |
58 |
char *tag; |
char *tag; |
59 |
|
|
60 |
/* Its %type. */ |
/* Its %type and associated destructor. */ |
61 |
char *type_name; |
char *type_name; |
62 |
|
char *destructor; |
63 |
|
|
64 |
/* The location of its first occurence. */ |
/* The location of its first occurence. */ |
65 |
location_t location; |
location_t location; |
111 |
void symbol_type_set PARAMS ((symbol_t *symbol, location_t location, |
void symbol_type_set PARAMS ((symbol_t *symbol, location_t location, |
112 |
char *type_name)); |
char *type_name)); |
113 |
|
|
114 |
|
/* Set the DESTRUCTOR associated to SYMBOL. */ |
115 |
|
void symbol_destructor_set PARAMS ((symbol_t *symbol, location_t location, |
116 |
|
char *destructor)); |
117 |
|
|
118 |
/* Set the PRECEDENCE associated to SYMBOL. Ensures that SYMBOL is a |
/* Set the PRECEDENCE associated to SYMBOL. Ensures that SYMBOL is a |
119 |
terminal. Does nothing if invoked with UNDEF_ASSOC as ASSOC. */ |
terminal. Does nothing if invoked with UNDEF_ASSOC as ASSOC. */ |
120 |
void symbol_precedence_set PARAMS ((symbol_t *symbol, location_t location, |
void symbol_precedence_set PARAMS ((symbol_t *symbol, location_t location, |