Rob Shearman : widl: Set the type of the type_t node constructured for dispinterfaces to RPC_FC_IP , like we do for interfaces.

Alexandre Julliard julliard at winehq.org
Tue Jun 24 06:44:27 CDT 2008


Module: wine
Branch: master
Commit: ada3ca6f0990b265baff0c29f621cb9c4afd401f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ada3ca6f0990b265baff0c29f621cb9c4afd401f

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Mon Jun 23 22:28:50 2008 +0100

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 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index ba909bc..3248bf8 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;




More information about the wine-cvs mailing list