Commit 5e056236 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 701295 - Doxygen 1.8.4 goes into an endless loop

parent b3e1f10a
...@@ -1843,11 +1843,15 @@ int findParameterList(const QString &name) ...@@ -1843,11 +1843,15 @@ int findParameterList(const QString &name)
++templateDepth; ++templateDepth;
pos=nextOpenPos-1; pos=nextOpenPos-1;
} }
else else if (nextClosePos!=-1)
{ {
--templateDepth; --templateDepth;
pos=nextClosePos-1; pos=nextClosePos-1;
} }
else // more >'s than <'s, see bug701295
{
return -1;
}
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment