summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-12-10 20:30:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-12-10 20:30:14 (GMT)
commitb625258a2f46f61e85bf473dfa64b719755c3b71 (patch)
treebb2f8266e3a639e6a4b15f02416a3aae5173c275 /src/scanner.l
parente48f695c385ccc356e124ac3a851a6228f4f5b84 (diff)
downloadDoxygen-b625258a2f46f61e85bf473dfa64b719755c3b71.zip
Doxygen-b625258a2f46f61e85bf473dfa64b719755c3b71.tar.gz
Doxygen-b625258a2f46f61e85bf473dfa64b719755c3b71.tar.bz2
Release-1.7.6.1
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 05b6fc9..49495f3 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -2460,7 +2460,7 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
initEntry();
BEGIN(FindMembers);
}
- else if (*yytext==';' || lastInitializerContext==FindFields)
+ else if (*yytext==';' || (lastInitializerContext==FindFields && initBracketCount==0)) // initBracketCount==0 was added for bug 665778
{
unput(*yytext);
BEGIN(lastInitializerContext);