summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-12-13 10:45:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-12-13 10:45:03 (GMT)
commit692544fb47407a3f2c5a5a5e4b80185428adda25 (patch)
treeb3df9c0c9c344c9259833a46dc1ccc58abc664fe /src/scanner.l
parent368f4f057be0ded4673be826c9a08cd771a023ce (diff)
downloadDoxygen-692544fb47407a3f2c5a5a5e4b80185428adda25.zip
Doxygen-692544fb47407a3f2c5a5a5e4b80185428adda25.tar.gz
Doxygen-692544fb47407a3f2c5a5a5e4b80185428adda25.tar.bz2
Bug 759247 - C++11 unified initializer for array with templates treated as function
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l
index e9d5707..819ee4a 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -2431,6 +2431,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
else
{
+ externC=FALSE; // see bug759247
BEGIN(FindMembers);
}
}
@@ -3417,6 +3418,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
{
current->args += yytext ;
squareCount=1;
+ externC=FALSE; // see bug759247
BEGIN( Array ) ;
}
}