- l = symbol_list_n_get (l, n);
- if (l)
- l->used = used;
-}
-
-void
-symbol_list_destructor_set (symbol_list *node, const char *destructor,
- location loc)
-{
- switch (node->content_type)
- {
- case SYMLIST_SYMBOL:
- symbol_destructor_set (node->content.sym, destructor, loc);
- break;
- case SYMLIST_TYPE:
- semantic_type_destructor_set (
- semantic_type_get (node->content.type_name), destructor, loc);
- break;
- case SYMLIST_DEFAULT_TAGGED:
- default_tagged_destructor_set (destructor, loc);
- break;
- case SYMLIST_DEFAULT_TAGLESS:
- default_tagless_destructor_set (destructor, loc);
- break;
- }