Module: wine Branch: master Commit: de95ee6c662e99c7d37737609aa5874c6016aadc URL: https://gitlab.winehq.org/wine/wine/-/commit/de95ee6c662e99c7d37737609aa5874...
Author: Rémi Bernon rbernon@codeweavers.com Date: Thu Sep 8 19:35:46 2022 +0200
widl: Allow parameterized types in runtimeclass interfaces.
---
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: