From: R��mi Bernon rbernon@codeweavers.com
--- tools/widl/parser.y | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 4000f37032c..c483eb06ff0 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -1086,6 +1086,7 @@ interfacedef: attributes interface { if ($2->type_type == TYPE_PARAMETERIZED_TY interfaceref: tINTERFACE typename { $$ = get_type(TYPE_INTERFACE, $2, current_namespace, 0); } | tINTERFACE namespace_pfx typename { $$ = get_type(TYPE_INTERFACE, $3, $2, 0); } + | tINTERFACE parameterized_type { if (type_get_type(($$ = $2)) != TYPE_INTERFACE) error_loc("%s is not an interface\n", $$->name); } ;
dispinterfaceref: