mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
* src/symtab.c, src/symtab.c (symbol_type_set)
(symbol_precedence_set): New. * src/reader.c (parse_type_decl, parse_assoc_decl): Use them. (value_components_used): Remove, unused.
This commit is contained in:
@@ -89,6 +89,13 @@ symbol_t *getsym PARAMS ((const char *key));
|
||||
void symbol_make_alias PARAMS ((symbol_t *symbol, symbol_t *symval,
|
||||
char *typename));
|
||||
|
||||
/* Set the TYPE_NAME associated to SYMBOL. */
|
||||
void symbol_type_set PARAMS ((symbol_t *symbol, char *type_name));
|
||||
|
||||
/* Set the PRECEDENCE associated to SYMBOL. */
|
||||
void symbol_precedence_set PARAMS ((symbol_t *symbol,
|
||||
int prec, associativity assoc));
|
||||
|
||||
/* Distinguished symbols. AXIOM is the real start symbol, that used
|
||||
by the automaton. STARTSYMBOL is the one specified by the user.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user