Commit 58b0788a authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

widl: Attributes of the alias are supposed to replace attributes of a tag in the typelib.

parent ded915aa
......@@ -4297,7 +4297,7 @@ static const type_info info[] = {
},
{
"cc",
"{00000000-0000-0000-0000-000000000000}",
"{016fe2ec-b2c8-45f8-b23b-39e53a75396c}",
/*kind*/ TKIND_ENUM, /*flags*/ 0, /*align*/ 4, /*size*/ 4,
/*#vtbl*/ 0, /*#func*/ 0
},
......
......@@ -1893,6 +1893,10 @@ static type_t *reg_typedefs(decl_spec_t *decl_spec, declarator_list_t *decls, at
{
if (!type->name)
type->name = gen_name();
/* replace existing attributes when generating a typelib */
if (do_typelib)
type->attrs = attrs;
}
LIST_FOR_EACH_ENTRY( decl, decls, const declarator_t, entry )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment