From: Hans Leidekker hans@codeweavers.com
--- tools/widl/parser.y | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 946eea7ec0c..cb8ff0eac63 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2990,6 +2990,9 @@ static void check_constructor_interfaces( const type_t *runtimeclass ) } else if (attr->type == ATTR_COMPOSABLE) { + if (!value->u.var->declspec.type->defined) + error_at( &attr->where, "composition interface %s is undefined\n", value->u.var->declspec.type->name ); + check_composition_interface( value->u.var->declspec.type ); } else if (attr->type == ATTR_STATIC)