Dan Hipschman : widl: Replace erroneously removed current_func assignment.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 21 09:40:21 CDT 2007


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

Author: Dan Hipschman <dsh at linux.ucla.edu>
Date:   Fri May 18 16:52:25 2007 -0700

widl: Replace erroneously removed current_func assignment.

This accidentally came out and should not have.  Thanks to Eric Kohl
for pointing this out to me.

---

 tools/widl/typegen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 3d61615..3aca92f 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -1582,6 +1582,8 @@ static size_t process_tfs(FILE *file, const ifref_list_t *ifaces, int for_object
             LIST_FOR_EACH_ENTRY( func, iface->iface->funcs, const func_t, entry )
             {
                 if (is_local(func->def->attrs)) continue;
+
+                current_func = func;
                 if (func->args)
                     LIST_FOR_EACH_ENTRY( var, func->args, const var_t, entry )
                         var->type->typestring_offset




More information about the wine-cvs mailing list