* 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:
Akim Demaille
2002-06-10 08:36:49 +00:00
parent 2f1afb737f
commit 3ae2b51f08
5 changed files with 50 additions and 23 deletions

View File

@@ -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.
*/