*
* @param kind the kind of the entity to allocate
*/
-entity_t *allocate_entity_zero(entity_kind_t const kind, entity_namespace_t const namespc)
+entity_t *allocate_entity_zero(entity_kind_t const kind, entity_namespace_t const namespc, symbol_t *const symbol)
{
size_t size = get_entity_struct_size(kind);
entity_t *entity = allocate_ast_zero(size);
entity->kind = kind;
entity->base.namespc = namespc;
+ entity->base.symbol = symbol;
return entity;
}