diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-20 10:17:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-21 12:45:40 (GMT) |
commit | 35d9aa784c393aab7ad9e314605bb58772e0b1e3 (patch) | |
tree | c871bec19741ee28b145afeb9175f3134bd59637 /src/pre.l | |
parent | df2a9ea9df96f1e3f85c5c35978bc5bbfac6aa1d (diff) | |
download | Doxygen-35d9aa784c393aab7ad9e314605bb58772e0b1e3.zip Doxygen-35d9aa784c393aab7ad9e314605bb58772e0b1e3.tar.gz Doxygen-35d9aa784c393aab7ad9e314605bb58772e0b1e3.tar.bz2 |
Bug 735037 - QGDict::hashAsciiKey: Invalid null key
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -3025,8 +3025,15 @@ void preprocessFile(const char *fileName,BufStr &input,BufStr &output) // gather the formal arguments in a dictionary while (i<i_cbrace && (p=reId.match(ds,i,&l))) { - argDict.insert(ds.mid(p,l),new int(count++)); - i=p+l; + if (l>0) // 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); |