diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-30 18:01:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-30 18:01:15 (GMT) |
commit | 5e056236c9ef3b3675d014cab43480700027d60b (patch) | |
tree | 1abfcad29a54611790d7da550d597dc675332fbe /src/util.cpp | |
parent | b3e1f10a2d795d0cf31f6efb3f88a31ad4c68980 (diff) | |
download | Doxygen-5e056236c9ef3b3675d014cab43480700027d60b.zip Doxygen-5e056236c9ef3b3675d014cab43480700027d60b.tar.gz Doxygen-5e056236c9ef3b3675d014cab43480700027d60b.tar.bz2 |
Bug 701295 - Doxygen 1.8.4 goes into an endless loop
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 0d70d43..0c36fc0 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1843,11 +1843,15 @@ int findParameterList(const QString &name) ++templateDepth; pos=nextOpenPos-1; } - else + else if (nextClosePos!=-1) { --templateDepth; pos=nextClosePos-1; } + else // more >'s than <'s, see bug701295 + { + return -1; + } } else { |