symbol_t *res = XMALLOC (symbol_t, 1);
res->tag = xstrdup (tag);
+ res->location = location;
+
res->type_name = NULL;
res->destructor = NULL;
- res->location = location;
+
res->number = NUMBER_UNDEFINED;
res->prec = 0;
res->assoc = right_assoc;
_("destructor redeclaration for %s"),
symbol_tag_get (symbol));
symbol->destructor = destructor;
+ symbol->destructor_location = location;
}
}