Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 6310 of file parser.tab.c.
Referenced by decl_builtin_alias(), decl_builtin_basic(), get_type(), reg_add(), reg_typedefs(), type_new_enum(), type_new_nonencapsulated_union(), and type_new_struct().
{ struct rtype *nt; int hash; if (!name) { error_loc("registering named type without name\n"); return type; } hash = hash_ident(name); nt = xmalloc(sizeof(struct rtype)); nt->name = name; nt->type = type; nt->t = t; nt->next = type_hash[hash]; type_hash[hash] = nt; if ((t == tsSTRUCT || t == tsUNION)) fix_incomplete_types(type); return type; }