From 35d9aa784c393aab7ad9e314605bb58772e0b1e3 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Wed, 20 Aug 2014 12:17:10 +0200 Subject: Bug 735037 - QGDict::hashAsciiKey: Invalid null key --- src/pre.l | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pre.l b/src/pre.l index f06cc98..c3eeb2a 100644 --- a/src/pre.l +++ b/src/pre.l @@ -3025,8 +3025,15 @@ void preprocessFile(const char *fileName,BufStr &input,BufStr &output) // gather the formal arguments in a dictionary while (i0) // see bug375037 + { + argDict.insert(ds.mid(p,l),new int(count++)); + i=p+l; + } + else + { + i++; + } } // strip definition part QCString tmp=ds.right(ds.length()-i_equals-1); -- cgit v0.12