From: Hans Leidekker hans@codeweavers.com
--- tools/widl/parser.y | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 7cb42184520..1e69892ba25 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2987,6 +2987,10 @@ static void check_constructor_interfaces( const type_t *runtimeclass ) if (attr->type == ATTR_ACTIVATABLE) { if (value->type != EXPR_MEMBER) continue; + + if (!value->u.var->declspec.type->defined) + error_at( &attr->where, "activation interface %s is undefined\n", value->u.var->declspec.type->name ); + check_activation_interface( value->u.var->declspec.type ); } else if (attr->type == ATTR_COMPOSABLE)