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 1e69892ba25..d687a46f0e1 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2995,6 +2995,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)