-/* Set the USER_TOKEN_NUMBER associated to SYMBOL. */
-void symbol_user_token_number_set PARAMS ((symbol_t *symbol, int user_number));
+/* Set the PRECEDENCE associated with SYM. Ensure that SYMBOL is a
+ terminal. Do nothing if invoked with UNDEF_ASSOC as ASSOC. */
+void symbol_precedence_set (symbol *sym, int prec, assoc a, location loc);
+
+/* Set the CLASS associated with SYM. */
+void symbol_class_set (symbol *sym, symbol_class class, location loc);
+
+/* Set the USER_TOKEN_NUMBER associated with SYM. */
+void symbol_user_token_number_set (symbol *sym, int user_number, location loc);