From ada3ca6f0990b265baff0c29f621cb9c4afd401f Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Mon, 23 Jun 2008 22:28:50 +0100 Subject: [PATCH] widl: Set the type of the type_t node constructured for dispinterfaces to RPC_FC_IP, like we do for interfaces. --- tools/widl/parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index ba909bcb419..3248bf882b3 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -874,8 +874,8 @@ coclass_int: m_attributes interfacedec { $$ = make_ifref($2); $$->attrs = $1; } ; -dispinterface: tDISPINTERFACE aIDENTIFIER { $$ = get_type(0, $2, 0); $$->kind = TKIND_DISPATCH; } - | tDISPINTERFACE aKNOWNTYPE { $$ = get_type(0, $2, 0); $$->kind = TKIND_DISPATCH; } +dispinterface: tDISPINTERFACE aIDENTIFIER { $$ = get_type(RPC_FC_IP, $2, 0); $$->kind = TKIND_DISPATCH; } + | tDISPINTERFACE aKNOWNTYPE { $$ = get_type(RPC_FC_IP, $2, 0); $$->kind = TKIND_DISPATCH; } ; dispinterfacehdr: attributes dispinterface { attr_t *attrs;