Patch #3408 2013-01-17 02:18

p2rkw

bug fix #18559
Download
3408-bug_fix_18559.patch (1.2 KB)
Category
Plugin::Bugfix
Status
Closed
Close date
2013-03-01 03:06
Assigned to
ollydbg
Index: src/plugins/codecompletion/parser/parserthread.cpp
===================================================================
--- src/plugins/codecompletion/parser/parserthread.cpp    (wersja 8785)
+++ src/plugins/codecompletion/parser/parserthread.cpp    (kopia robocza)
@@ -1294,7 +1298,12 @@
         if (localParent)
             newToken = TokenExists(newname, baseArgs, localParent, kind);
         if (newToken)
-        {   TRACE(_T("DoAddToken() : Found token (member function).")); }
+        {   TRACE(_T("DoAddToken() : Found token (member function)."));
+            if(isImpl && (kind & tkAnyFunction))
+            {
+                newToken->m_Args = args;
+            }
+        }
     }
 
     // none of the above; check for token under parent
@@ -1302,7 +1311,12 @@
     {
         newToken = TokenExists(newname, baseArgs, m_LastParent, kind);
         if (newToken)
-        {   TRACE(_T("DoAddToken() : Found token (parent).")); }
+        {   TRACE(_T("DoAddToken() : Found token (parent)."));
+            if(isImpl && (kind & tkAnyFunction))
+            {
+                newToken->m_Args = args;
+            }
+        }
     }
 
     // need to check if the current token already exists in the tokenTree
p2rkw 2013-01-17 02:21
mortenmacfly 2013-01-21 15:44

Hi ollydbg,

I am temporarily assigning this to you so it doesn't get lost., you brought up the topic in the forums. Please give it a try to see if it works and doesn't break anything (I'll do the same).

ollydbg 2013-03-01 03:06

Done in revision 8889, thanks.