complain_at (loc, _("invalid $ value: $%d"), n);
return NULL;
}
- assert (l->content_type == SYMLIST_SYMBOL);
+ aver (l->content_type == SYMLIST_SYMBOL);
return l->content.sym->type_name;
}
symbol_destructor_set (node->content.sym, destructor, loc);
break;
case SYMLIST_TYPE:
- /* FIXME: */
+ semantic_type_destructor_set (
+ semantic_type_get (node->content.type_name), destructor, loc);
break;
case SYMLIST_DEFAULT:
default_destructor_set (destructor, loc);
symbol_printer_set (node->content.sym, printer, loc);
break;
case SYMLIST_TYPE:
- /* FIXME: */
+ semantic_type_printer_set (
+ semantic_type_get (node->content.type_name), printer, loc);
break;
case SYMLIST_DEFAULT:
default_printer_set (printer, loc);